[gnome-initial-setup] Fix headerbar height for the summary page



commit b04ed70901d36d782431daba72ec006f89628eb9
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Mar 4 22:43:25 2014 -0500

    Fix headerbar height for the summary page
    
    We have a sizegroup that makes all buttons and the title
    have the same size. But since we allow the title to leak into
    the margins now, we need to add another non-centered widget
    that remains visible in the summary header. Use an empty
    label for this.

 gnome-initial-setup/gis-assistant.ui |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/gnome-initial-setup/gis-assistant.ui b/gnome-initial-setup/gis-assistant.ui
index c064f3e..a329392 100644
--- a/gnome-initial-setup/gis-assistant.ui
+++ b/gnome-initial-setup/gis-assistant.ui
@@ -24,6 +24,11 @@
       </object>
     </child>
     <child>
+      <object class="GtkLabel" id="placeholder">
+        <property name="visible">True</property>
+      </object>
+    </child>
+    <child>
       <object class="GtkSpinner" id="spinner">
         <property name="visible">True</property>
       </object>
@@ -72,6 +77,14 @@
     </widgets>
   </object>
 
+  <object class="GtkSizeGroup" id="headerheight">
+    <property name="mode">vertical</property>
+    <widgets>
+      <widget name="title"/>
+      <widget name="placeholder"/>
+    </widgets>
+  </object>
+
   <template class="GisAssistant" parent="GtkBox">
     <property name="orientation">vertical</property>
     <child>


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