[gnome-control-center/wip/rhughes/night-light-v5] displays: Fix night light box spacing
- From: Allan Day <allanday src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/rhughes/night-light-v5] displays: Fix night light box spacing
- Date: Wed, 15 Feb 2017 15:04:10 +0000 (UTC)
commit ef265865150a2a23041fe9163aee9339cb33696a
Author: Allan Day <allanpday gmail com>
Date: Wed Feb 15 14:33:31 2017 +0000
displays: Fix night light box spacing
The row needs to be sufficiently tall, and evenly spaced from the
other list
panels/display/cc-display-panel.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index d6d4916..e4cedb6 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2833,7 +2833,7 @@ cc_display_panel_init (CcDisplayPanel *self)
output_ids = g_hash_table_new (g_direct_hash, g_direct_equal);
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 22);
gtk_container_add (GTK_CONTAINER (self), vbox);
frame = gtk_frame_new (NULL);
@@ -2880,8 +2880,8 @@ cc_display_panel_init (CcDisplayPanel *self)
gtk_label_set_use_underline (GTK_LABEL (label), TRUE);
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);
priv->night_light_filter_label = label = gtk_label_new ("");
gtk_widget_set_halign (label, GTK_ALIGN_END);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]