[gnome-control-center/wip/gbsneto/connection-editor: 15/15] network: Improve alignment and spacing
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/connection-editor: 15/15] network: Improve alignment and spacing
- Date: Thu, 15 Jun 2017 17:02:40 +0000 (UTC)
commit 1dea10e3b3043b240c52f52b1d4e5d8b5d38e9a8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue May 23 15:41:53 2017 -0300
network: Improve alignment and spacing
This patch improves the alignment and spacing of IPv4
and IPv6 widgets so that they look uniform and consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=779841
panels/network/connection-editor/ip4-page.ui | 24 ++++++++++++------------
panels/network/connection-editor/ip6-page.ui | 23 ++++++++++++-----------
2 files changed, 24 insertions(+), 23 deletions(-)
---
diff --git a/panels/network/connection-editor/ip4-page.ui b/panels/network/connection-editor/ip4-page.ui
index 88d7ded..5f2fc4e 100644
--- a/panels/network/connection-editor/ip4-page.ui
+++ b/panels/network/connection-editor/ip4-page.ui
@@ -13,13 +13,13 @@
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_start">20</property>
- <property name="margin_end">20</property>
- <property name="margin_top">10</property>
- <property name="margin_bottom">10</property>
+ <property name="margin_start">24</property>
+ <property name="margin_end">24</property>
+ <property name="margin_top">24</property>
+ <property name="margin_bottom">24</property>
<property name="orientation">vertical</property>
- <property name="row-spacing">12</property>
- <property name="column-spacing">12</property>
+ <property name="row-spacing">6</property>
+ <property name="column-spacing">6</property>
<child>
<object class="GtkLabel" id="heading_enable">
<property name="visible">True</property>
@@ -97,7 +97,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="spacing">10</property>
+ <property name="spacing">6</property>
<child>
<object class="GtkBox" id="address_section">
<property name="visible">True</property>
@@ -110,7 +110,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Addresses</property>
<property name="margin_top">24</property>
- <property name="margin_bottom">12</property>
+ <property name="margin_bottom">8</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -188,8 +188,8 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">DNS</property>
- <property name="margin_top">24</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">18</property>
+ <property name="margin_bottom">2</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -228,8 +228,8 @@
<property name="xalign">0</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Routes</property>
- <property name="margin_top">24</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">18</property>
+ <property name="margin_bottom">2</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/panels/network/connection-editor/ip6-page.ui b/panels/network/connection-editor/ip6-page.ui
index c2ee1c6..adca4ea 100644
--- a/panels/network/connection-editor/ip6-page.ui
+++ b/panels/network/connection-editor/ip6-page.ui
@@ -13,13 +13,13 @@
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_start">20</property>
- <property name="margin_end">20</property>
- <property name="margin_top">10</property>
- <property name="margin_bottom">10</property>
+ <property name="margin_start">24</property>
+ <property name="margin_end">24</property>
+ <property name="margin_top">24</property>
+ <property name="margin_bottom">24</property>
<property name="orientation">vertical</property>
- <property name="row-spacing">12</property>
- <property name="column-spacing">12</property>
+ <property name="row-spacing">6</property>
+ <property name="column-spacing">6</property>
<child>
<object class="GtkLabel" id="heading_enable">
<property name="visible">True</property>
@@ -111,7 +111,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="spacing">10</property>
+ <property name="spacing">6</property>
<child>
<object class="GtkBox" id="address_section">
<property name="visible">True</property>
@@ -124,7 +124,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Addresses</property>
<property name="margin_top">24</property>
- <property name="margin_bottom">12</property>
+ <property name="margin_bottom">8</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -202,7 +202,8 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">DNS</property>
- <property name="margin_top">24</property>
+ <property name="margin_top">18</property>
+ <property name="margin_bottom">2</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -241,8 +242,8 @@
<property name="xalign">0</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Routes</property>
- <property name="margin_top">24</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">18</property>
+ <property name="margin_bottom">2</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]