[gnome-control-center/wip/gbsneto/new-network-panel: 19/19] network: Make widgets cover a third of screen width
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/new-network-panel: 19/19] network: Make widgets cover a third of screen width
- Date: Fri, 21 Jul 2017 18:06:58 +0000 (UTC)
commit 27866df60dbcaf4598ea63f93a6a21bd6cb8b34a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jul 21 15:01:38 2017 -0300
network: Make widgets cover a third of screen width
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.
panels/network/network.ui | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/panels/network/network.ui b/panels/network/network.ui
index d287734..93b770d 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]