[hotssh] window: Center the buttons in the headerbar



commit 5032c171b9784f1cfb621f9a2dd352ec9e4dec87
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Sun Nov 17 12:38:37 2013 +0200

    window: Center the buttons in the headerbar
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712534

 src/window.ui |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/window.ui b/src/window.ui
index 3031000..ef2b80d 100644
--- a/src/window.ui
+++ b/src/window.ui
@@ -21,6 +21,7 @@
             <property name="visible">True</property>
             <property name="use-underline">True</property>
             <property name="can-default">True</property>
+            <property name="valign">center</property>
          </object>
          <packing>
             <property name="pack-type">start</property>
@@ -29,6 +30,10 @@
         <child>
           <object class="GtkMenuButton" id="gears">
             <property name="visible">True</property>
+            <property name="valign">center</property>
+            <style>
+              <class name="image-button"/>
+            </style>
             <child>
               <object class="GtkImage" id="gears-icon">
                 <property name="visible">True</property>
@@ -50,4 +55,11 @@
       </object>
     </child>
   </template>
+  <object class="GtkSizeGroup" id="buttons_header_bar_size_group">
+      <property name="mode">vertical</property>
+      <widgets>
+        <widget name="new_connection"/>
+        <widget name="gears"/>
+      </widgets>
+  </object>
 </interface>


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