power: harmonize header positioning
Some of the headings have horizontal margins and others don't, creating an inconsistent layout. Remove the horizontal margins from all headings. https://bugzilla.gnome.org/show_bug.cgi?id=786327
This commit is contained in:
parent
47a39f5c36
commit
e29e97a9a4
1 changed files with 0 additions and 4 deletions
|
@ -2358,8 +2358,6 @@ add_battery_section (CcPowerPanel *self)
|
|||
g_free (s);
|
||||
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
|
||||
gtk_widget_set_halign (widget, GTK_ALIGN_START);
|
||||
gtk_widget_set_margin_start (widget, 6);
|
||||
gtk_widget_set_margin_end (widget, 6);
|
||||
gtk_widget_set_margin_bottom (widget, 6);
|
||||
gtk_widget_set_margin_bottom (box, 24);
|
||||
gtk_box_pack_start (GTK_BOX (box), widget, FALSE, TRUE, 0);
|
||||
|
@ -2410,8 +2408,6 @@ add_device_section (CcPowerPanel *self)
|
|||
g_free (s);
|
||||
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
|
||||
gtk_widget_set_halign (widget, GTK_ALIGN_START);
|
||||
gtk_widget_set_margin_start (widget, 6);
|
||||
gtk_widget_set_margin_end (widget, 6);
|
||||
gtk_widget_set_margin_bottom (widget, 6);
|
||||
gtk_box_pack_start (GTK_BOX (box), widget, FALSE, TRUE, 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue