[gnome-control-center/T20818: 15/54] network: fix Add Connection dialog



commit 5fcdb411cf0badf4fbb3d0b14c905d61135cc0ac
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Feb 9 12:46:32 2016 -0200

    network: fix Add Connection dialog
    
    The Add Connection widgets from the connection
    editor dialog weren't properly using the available
    space, since they don't expand.
    
    Fix that by making them expand and fill the available
    space properly. It also avoids blank space by vertically
    centering the list.
    
    [endlessm/eos-shell#6226]

 .../network/connection-editor/connection-editor.ui |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/connection-editor/connection-editor.ui 
b/panels/network/connection-editor/connection-editor.ui
index 1472d3e..09eb3e7 100644
--- a/panels/network/connection-editor/connection-editor.ui
+++ b/panels/network/connection-editor/connection-editor.ui
@@ -79,11 +79,13 @@
               <object class="GtkBox" id="details_add_connection_outer_box">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="vexpand">True</property>
                 <child>
                   <object class="GtkBox" id="details_add_connection_inner_box">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="orientation">vertical</property>
+                    <property name="vexpand">True</property>
                     <child>
                       <object class="GtkFrame" id="details_add_connection_frame">
                         <property name="width_request">300</property>
@@ -91,12 +93,14 @@
                         <property name="can_focus">False</property>
                         <property name="label_xalign">0</property>
                         <property name="shadow_type">in</property>
+                        <property name="vexpand">True</property>
+                        <property name="valign">center</property>
                         <child>
                           <placeholder/>
                         </child>
                       </object>
                       <packing>
-                        <property name="expand">False</property>
+                        <property name="expand">True</property>
                         <property name="fill">True</property>
                         <property name="position">0</property>
                       </packing>


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