[gnome-control-center] power: Fix alignment of "Screen brightness" label
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] power: Fix alignment of "Screen brightness" label
- Date: Mon, 9 Mar 2015 17:11:31 +0000 (UTC)
commit 78c22d24f8779d8b64754389bbd705fac4f1ee35
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 9 18:10:55 2015 +0100
power: Fix alignment of "Screen brightness" label
panels/power/cc-power-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 02ac564..c73a5d1 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -1416,6 +1416,7 @@ add_brightness_row (CcPowerPanel *self,
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_container_add (GTK_CONTAINER (row), box);
label = gtk_label_new (text);
+ gtk_label_set_xalign (GTK_LABEL (label), 0.0);
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_label_set_use_underline (GTK_LABEL (label), TRUE);
gtk_widget_set_margin_start (label, 20);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]