[gnome-control-center] region: improve spacing
- From: Allan Day <allanday src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: improve spacing
- Date: Tue, 23 Aug 2016 15:05:17 +0000 (UTC)
commit ed34cd7d045ec10f05621afa4eca8c2db4d9cc99
Author: Allan Day <allanpday gmail com>
Date: Tue Aug 2 10:16:37 2016 +0100
region: improve spacing
The layout of the panel felt constrained and wasn't consistent
with the other panels. More vertical spacing required.
https://bugzilla.gnome.org/show_bug.cgi?id=764645
panels/region/cc-region-panel.c | 4 ++--
panels/region/region.ui | 24 ++++++++++++------------
2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index c6084f2..f6ea784 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -853,8 +853,8 @@ add_input_row (CcRegionPanel *self,
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_margin_start (label, 20);
gtk_widget_set_margin_end (label, 20);
- gtk_widget_set_margin_top (label, 6);
- gtk_widget_set_margin_bottom (label, 6);
+ gtk_widget_set_margin_top (label, 12);
+ gtk_widget_set_margin_bottom (label, 12);
gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0);
if (strcmp (type, INPUT_SOURCE_TYPE_IBUS) == 0) {
diff --git a/panels/region/region.ui b/panels/region/region.ui
index efa4a98..07c0d4d 100644
--- a/panels/region/region.ui
+++ b/panels/region/region.ui
@@ -15,7 +15,7 @@
<property name="margin_start">134</property>
<property name="margin_end">134</property>
<property name="margin_top">24</property>
- <property name="margin_bottom">24</property>
+ <property name="margin_bottom">32</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkListBox" id="language_list">
@@ -34,8 +34,8 @@
<property name="can_focus">False</property>
<property name="margin_start">20</property>
<property name="margin_end">20</property>
- <property name="margin_top">6</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">12</property>
+ <property name="margin_bottom">12</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Language</property>
<property name="use_underline">True</property>
@@ -53,8 +53,8 @@
<property name="xalign">1</property>
<property name="margin_start">20</property>
<property name="margin_end">20</property>
- <property name="margin_top">6</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">12</property>
+ <property name="margin_bottom">12</property>
<property name="label" translatable="yes">English (United Kingdom)</property>
</object>
<packing>
@@ -80,8 +80,8 @@
<property name="can_focus">False</property>
<property name="margin_start">20</property>
<property name="margin_end">20</property>
- <property name="margin_top">6</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">12</property>
+ <property name="margin_bottom">12</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Formats</property>
<property name="use_underline">True</property>
@@ -99,8 +99,8 @@
<property name="xalign">1</property>
<property name="margin_start">20</property>
<property name="margin_end">20</property>
- <property name="margin_top">6</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_top">12</property>
+ <property name="margin_bottom">12</property>
<property name="label" translatable="yes">United Kingdom</property>
</object>
<packing>
@@ -137,13 +137,13 @@
<object class="GtkBox" id="input_heading_row">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_bottom">6</property>
+ <property name="margin_bottom">12</property>
<child>
<object class="GtkLabel" id="input_heading">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_start">6</property>
- <property name="margin_end">6</property>
+ <property name="margin_start">2</property>
+ <property name="margin_end">2</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Input Sources</property>
<attributes>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]