Commit afbdddc2 authored by Felipe Borges's avatar Felipe Borges Committed by Georges Basile Stavracas Neto
Browse files

sharing: properly resize listbox rows

https://bugzilla.gnome.org/show_bug.cgi?id=767646
parent d4c4070c
......@@ -214,7 +214,8 @@ cc_sharing_networks_new_row (const char *uuid,
row = gtk_list_box_row_new ();
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
gtk_container_set_border_width (GTK_CONTAINER (box), 3);
gtk_widget_set_margin_start (box, 6);
gtk_container_add (GTK_CONTAINER (row), box);
if (g_strcmp0 (carrier_type, "802-11-wireless") == 0) {
......@@ -259,7 +260,8 @@ cc_sharing_networks_new_current_row (CcSharingNetworks *self)
row = gtk_list_box_row_new ();
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
gtk_container_set_border_width (GTK_CONTAINER (box), 3);
gtk_widget_set_margin_start (box, 6);
gtk_container_add (GTK_CONTAINER (row), box);
/* Icon */
......
......@@ -525,7 +525,8 @@ cc_sharing_panel_new_media_sharing_row (const char *uri_or_path,
row = gtk_list_box_row_new ();
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
gtk_container_set_border_width (GTK_CONTAINER (box), 3);
gtk_widget_set_margin_start (box, 6);
gtk_container_add (GTK_CONTAINER (row), box);
/* Find the icon and create it */
......@@ -576,7 +577,7 @@ cc_sharing_panel_new_add_media_sharing_row (CcSharingPanel *self)
row = gtk_list_box_row_new ();
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
gtk_container_set_border_width (GTK_CONTAINER (box), 3);
gtk_container_add (GTK_CONTAINER (row), box);
w = gtk_image_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_SMALL_TOOLBAR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment