Skip to content

Commit

Permalink
icon-browser: Stop using GtkMisc properties
Browse files Browse the repository at this point in the history
Instead of xpad/ypad of 4 for every widget, just increase the
row-spacing and column-spacing by 8.

https://bugzilla.gnome.org/show_bug.cgi?id=758790
  • Loading branch information
baedert committed Nov 30, 2015
1 parent 624cb5e commit d505a1a
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions demos/icon-browser/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,14 @@
<object class="GtkGrid">
<property name="visible">True</property>
<property name="margin">10</property>
<property name="row-spacing">10</property>
<property name="column-spacing">10</property>
<property name="row-spacing">18</property>
<property name="column-spacing">18</property>
<child>
<object class="GtkEventBox">
<property name="visible">True</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
Expand All @@ -174,8 +172,6 @@
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
Expand All @@ -192,8 +188,6 @@
<child>
<object class="GtkImage" id="image3">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
Expand All @@ -210,8 +204,6 @@
<child>
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
Expand All @@ -228,8 +220,6 @@
<child>
<object class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
Expand All @@ -244,8 +234,6 @@
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">baseline</property>
<property name="label">16×16</property>
Expand All @@ -261,8 +249,6 @@
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">baseline</property>
<property name="label">24×24</property>
Expand All @@ -278,8 +264,6 @@
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">baseline</property>
<property name="label">32×32</property>
Expand All @@ -295,8 +279,6 @@
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">baseline</property>
<property name="label">48×48</property>
Expand All @@ -312,8 +294,6 @@
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">baseline</property>
<property name="label">64×64</property>
Expand Down

0 comments on commit d505a1a

Please sign in to comment.