summaryrefslogtreecommitdiff
path: root/panels/online-accounts
diff options
context:
space:
mode:
authorAllan Day <allanpday@gmail.com>2017-02-16 13:16:05 +0000
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-02-22 23:12:52 -0300
commit432d55b30ed539a94369255b5290878e794dec73 (patch)
tree3ef3e6b26a756cea154dbad6783fb6fd2d6db561 /panels/online-accounts
parent4662c5be583b0d6b06b84e522469566aecef1cb6 (diff)
downloadgnome-control-center-432d55b30ed539a94369255b5290878e794dec73.tar.gz
online-accounts: Improve panel layout
Ensure sufficient spacing within and around rows. Increase panel height to make it easier to view the list.
Diffstat (limited to 'panels/online-accounts')
-rw-r--r--panels/online-accounts/cc-online-accounts-panel.c2
-rw-r--r--panels/online-accounts/online-accounts.ui11
2 files changed, 7 insertions, 6 deletions
diff --git a/panels/online-accounts/cc-online-accounts-panel.c b/panels/online-accounts/cc-online-accounts-panel.c
index c1337ebb8..04063d812 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -769,7 +769,7 @@ on_account_added (GoaClient *client,
/* "Needs attention" icon */
icon = gtk_image_new_from_icon_name ("dialog-warning-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_widget_set_no_show_all (icon, TRUE);
- g_object_set (icon, "margin", 6, NULL);
+ g_object_set (icon, "margin_end", 30, NULL);
g_object_bind_property (goa_object_peek_account (object),
"attention-needed",
icon,
diff --git a/panels/online-accounts/online-accounts.ui b/panels/online-accounts/online-accounts.ui
index 234b5f734..e0f874e17 100644
--- a/panels/online-accounts/online-accounts.ui
+++ b/panels/online-accounts/online-accounts.ui
@@ -68,7 +68,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
- <property name="min_content_height">350</property>
+ <property name="min_content_height">500</property>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
@@ -78,8 +78,8 @@
<property name="orientation">vertical</property>
<property name="margin_start">32</property>
<property name="margin_end">32</property>
- <property name="margin_top">18</property>
- <property name="margin_bottom">18</property>
+ <property name="margin_top">32</property>
+ <property name="margin_bottom">22</property>
<property name="hexpand">True</property>
<property name="width-request">300</property>
@@ -113,7 +113,7 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">18</property>
+ <property name="spacing">12</property>
<property name="orientation">vertical</property>
<property name="hexpand">True</property>
<property name="width-request">300</property>
@@ -123,6 +123,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Connect to your data in the cloud</property>
+ <property name="margin_bottom">22</property>
<attributes>
<attribute name="scale" value="1.66" />
</attributes>
@@ -180,7 +181,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
- <property name="margin">12</property>
+ <property name="margin">22</property>
<property name="icon-name">view-more-symbolic</property>
</object>
</child>