online-accounts: Improve panel layout

Ensure sufficient spacing within and around rows. Increase panel
height to make it easier to view the list.
This commit is contained in:
Allan Day 2017-02-16 13:16:05 +00:00 committed by Georges Basile Stavracas Neto
parent 4662c5be58
commit 432d55b30e
2 changed files with 7 additions and 6 deletions

View file

@ -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,

View file

@ -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>