summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-07-21 15:01:38 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-08-07 20:20:41 +0100
commit6989c644ee32e88eb5bd37142662df4455222037 (patch)
tree5cccf57d79b228ebb61d5c71721e5b3b5f7ba879
parentb5e7e50e14608a8ba5fc69642eaf107841d7f506 (diff)
downloadgnome-control-center-wip/gbsneto/new-network-panel.tar.gz
network: Make widgets cover a third of screen widthwip/gbsneto/new-network-panel
Following the design decision on other panels, make the central column of the Network panel cover at most a third of the window, or more depending on the width of the window. https://bugzilla.gnome.org/show_bug.cgi?id=785581
-rw-r--r--panels/network/network.ui26
1 files changed, 21 insertions, 5 deletions
diff --git a/panels/network/network.ui b/panels/network/network.ui
index d287734a5..93b770d0d 100644
--- a/panels/network/network.ui
+++ b/panels/network/network.ui
@@ -43,19 +43,26 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">12</property>
- <property name="margin">18</property>
- <property name="orientation">vertical</property>
- <property name="halign">center</property>
+ <property name="orientation">horizontal</property>
<property name="valign">start</property>
+ <!-- Stub box -->
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
<property name="spacing">12</property>
+ <property name="margin">18</property>
<property name="orientation">vertical</property>
- <property name="width_request">350</property>
<!-- Each GtkBox below will contain GtkStacks from the NetDevices -->
<child>
@@ -166,6 +173,15 @@
</object>
</child>
+ <!-- Stub box -->
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ </object>
+ </child>
+
</object>
</child>
</object>