Commit 00a74afc authored by Jonathan Kang's avatar Jonathan Kang Committed by Georges Basile Stavracas Neto
Browse files

sharing: set end margin for labels in Networks list box

Currently if a network connection's name is long enough, there will
be no space between the name label widget and the switch button widget
next to it.

Fix that by setting the end margin of label widget as 6 to keep some
space between those two widgets.
parent 85f267bf
......@@ -232,6 +232,7 @@ cc_sharing_networks_new_row (const char *uuid,
/* Label */
w = gtk_label_new (network_name);
gtk_widget_set_margin_end (w, 12);
gtk_container_add (GTK_CONTAINER (box), w);
/* Remove button */
......@@ -273,6 +274,7 @@ cc_sharing_networks_new_current_row (CcSharingNetworks *self)
/* Label */
w = gtk_label_new ("");
gtk_container_add (GTK_CONTAINER (box), w);
gtk_widget_set_margin_end (w, 12);
self->priv->current_label = w;
w = gtk_switch_new ();
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