[gnome-boxes/wip/rishi/rhel: 5/16] wizard-source: Align each page separately, instead of the whole widget



commit 9f8bfd15f6b65a9c8f38f13482e47a22d1e5eb1d
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Aug 29 21:25:52 2017 +0200

    wizard-source: Align each page separately, instead of the whole widget
    
    In a following patch, we will add a separate page with a WebKitWebView
    to let the user log into their Red Hat developer account. It should
    expand to fill the whole dialog instead of being centre aligned like
    the existing pages. Therefore, each page needs to be aligned
    separately.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786679

 data/ui/wizard-source.ui |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/wizard-source.ui b/data/ui/wizard-source.ui
index ce7d3c7..19e1df3 100644
--- a/data/ui/wizard-source.ui
+++ b/data/ui/wizard-source.ui
@@ -5,12 +5,12 @@
     <property name="visible">True</property>
     <property name="transition-type">slide-left-right</property>
     <property name="transition-duration">400</property>
-    <property name="hexpand">True</property>
-    <property name="halign">center</property>
 
     <!-- main page -->
     <child>
       <object class="GtkBox" id="main_vbox">
+        <property name="halign">center</property>
+        <property name="hexpand">True</property>
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <property name="spacing">0</property>
@@ -228,6 +228,8 @@
     <!-- URL page -->
     <child>
       <object class="GtkBox" id="url_menubox">
+        <property name="halign">center</property>
+        <property name="hexpand">True</property>
         <property name="visible">True</property>
         <property name="orientation">vertical</property>
         <property name="spacing">0</property>


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