[cheese] Fix button alignment in main window



commit 4c64b75570956ca89e51925adf27b6cc0f711014
Author: David King <amigadave amigadave com>
Date:   Wed Jul 23 14:07:17 2014 +0100

    Fix button alignment in main window

 data/cheese-main-window.ui |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index 0836797..4118e36 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -32,13 +32,15 @@
                 <property name="hexpand">True</property>
                 <property name="visible">True</property>
                 <child>
-                  <object class="GtkBox" id="buttons_area">
+                  <object class="GtkGrid" id="buttons_area">
                     <property name="border-width">6</property>
                     <property name="orientation">horizontal</property>
                     <property name="visible">True</property>
                     <child>
                       <object class="GtkBox" id="mode_toggle_buttons">
                         <property name="orientation">horizontal</property>
+                        <property name="halign">start</property>
+                        <property name="hexpand">True</property>
                         <property name="visible">True</property>
                         <style>
                           <class name="linked"/>
@@ -88,8 +90,7 @@
                       <object class="GtkButton" id="take_action_button">
                         <property name="action-name">app.shoot</property>
                         <property name="tooltip_text" translatable="yes">Take a photo using a 
webcam</property>
-                        <property name="hexpand">True</property>
-                        <property name="vexpand">False</property>
+                        <property name="halign">center</property>
                         <property name="visible">True</property>
                         <style>
                           <class name="image-button"/>
@@ -105,6 +106,8 @@
                     <child>
                       <object class="GtkBox" id="effects_actions_pack">
                         <property name="orientation">horizontal</property>
+                        <property name="halign">end</property>
+                        <property name="hexpand">True</property>
                         <property name="visible">True</property>
                         <style>
                           <class name="linked"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]