[gtk+] icon-browser: Stop using GtkMisc properties
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] icon-browser: Stop using GtkMisc properties
- Date: Mon, 30 Nov 2015 16:43:15 +0000 (UTC)
commit d505a1af6823938b5ad3ac886f9ea160746706b2
Author: Timm Bäder <mail baedert org>
Date: Sat Nov 28 21:00:29 2015 +0100
icon-browser: Stop using GtkMisc properties
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
demos/icon-browser/window.ui | 24 ++----------------------
1 files changed, 2 insertions(+), 22 deletions(-)
---
diff --git a/demos/icon-browser/window.ui b/demos/icon-browser/window.ui
index ad82a30..c845d1d 100644
--- a/demos/icon-browser/window.ui
+++ b/demos/icon-browser/window.ui
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]