[gtk+] Fix layout of infobar



commit 362d4fb686a65de03935184219a5f6e92fce2ca6
Author: William Jon McCann <william jon mccann gmail com>
Date:   Sat Aug 3 14:59:40 2013 +0200

    Fix layout of infobar
    
    Make sure the close button is right aligned and centered vertically.

 gtk/gtkinfobar.ui |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkinfobar.ui b/gtk/gtkinfobar.ui
index b5823fa..97c2c63 100644
--- a/gtk/gtkinfobar.ui
+++ b/gtk/gtkinfobar.ui
@@ -20,6 +20,7 @@
                 <property name="can_focus">False</property>
                 <property name="border_width">8</property>
                 <property name="spacing">16</property>
+                <property name="hexpand">True</property>
                 <child>
                   <placeholder/>
                 </child>
@@ -54,9 +55,10 @@
                 <property name="can_focus">True</property>
                 <property name="border_width">6</property>
                 <property name="relief">none</property>
+                <property name="valign">center</property>
                 <style>
                   <class name="raised"/>
-                 <class name="close"/>
+                  <class name="close"/>
                 </style>
                 <child>
                   <object class="GtkImage" id="close_image">


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