[cheese] ui: remove padding from the take_picture button
- From: Filippo Argiolas <fargiolas src gnome org>
- To: svn-commits-list gnome org
- Subject: [cheese] ui: remove padding from the take_picture button
- Date: Tue, 16 Jun 2009 10:15:23 -0400 (EDT)
commit e3dfe574aa1b37231dbc1a91b25b5374fb2e2a32
Author: Filippo Argiolas <filippo argiolas gmail com>
Date: Tue Jun 16 16:01:32 2009 +0200
ui: remove padding from the take_picture button
Use alignment xscale property instead of padding in the take_picture
button. Doesn't fix but at least partly works around bug #573301 (the
button can now grow up and fill the whole free space with no padding
constraint).
data/cheese.glade | 2 +-
data/cheese.ui | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/cheese.glade b/data/cheese.glade
index d83df2b..d094471 100644
--- a/data/cheese.glade
+++ b/data/cheese.glade
@@ -258,6 +258,7 @@
<child>
<widget class="GtkAlignment" id="take_picture_alignment">
<property name="visible">True</property>
+ <property name="xscale">0.5</property>
<child>
<widget class="GtkButton" id="take_picture">
<property name="visible">True</property>
@@ -305,7 +306,6 @@
</widget>
<packing>
<property name="expand">False</property>
- <property name="padding">16</property>
<property name="position">1</property>
</packing>
</child>
diff --git a/data/cheese.ui b/data/cheese.ui
index d5af982..0400060 100644
--- a/data/cheese.ui
+++ b/data/cheese.ui
@@ -240,6 +240,7 @@
<child>
<object class="GtkAlignment" id="take_picture_alignment">
<property name="visible">True</property>
+ <property name="xscale">0.5</property>
<child>
<object class="GtkButton" id="take_picture">
<property name="visible">True</property>
@@ -287,7 +288,6 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="padding">16</property>
<property name="position">1</property>
</packing>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]