[gnome-control-center/T20771: 11/44] network: fix Add Connection dialog



commit 02a654d264c81516f43db401a7aa4d72a51fe265
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 4495c72..a29ddec 100644
--- a/panels/network/connection-editor/connection-editor.ui
+++ b/panels/network/connection-editor/connection-editor.ui
@@ -68,11 +68,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>
@@ -80,12 +82,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]