Merge lp:~elementary-pantheon/wingpanel-indicator-sound/loki-fixes into lp:~wingpanel-devs/wingpanel-indicator-sound/trunk

Proposed by Danielle Foré
Status: Merged
Approved by: Cody Garver
Approved revision: 43
Merged at revision: 43
Proposed branch: lp:~elementary-pantheon/wingpanel-indicator-sound/loki-fixes
Merge into: lp:~wingpanel-devs/wingpanel-indicator-sound/trunk
Diff against target: 14 lines (+2/-2)
1 file modified
src/Widgets/Scale.vala (+2/-2)
To merge this branch: bzr merge lp:~elementary-pantheon/wingpanel-indicator-sound/loki-fixes
Reviewer Review Type Date Requested Status
WingPanel Devs Pending
Review via email: mp+273350@code.launchpad.net

Commit message

Gtk.Switch fixes
* Remove unnecessary halign
* valign center instead of fill
* margin_end 12

Description of the change

Fixes some visual issues associated with drawing the switches in CSS instead of with images

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Widgets/Scale.vala'
2--- src/Widgets/Scale.vala 2015-06-03 13:03:03 +0000
3+++ src/Widgets/Scale.vala 2015-10-04 20:37:43 +0000
4@@ -38,9 +38,9 @@
5
6 switch_widget = new Gtk.Switch ();
7 switch_widget.active = active;
8- switch_widget.halign = Gtk.Align.END;
9+ switch_widget.valign = Gtk.Align.CENTER;
10 switch_widget.margin_start = 6;
11- switch_widget.margin_end = 0;
12+ switch_widget.margin_end = 12;
13
14 this.attach (switch_widget, 2, 0, 1, 1);
15

Subscribers

People subscribed via source and target branches

to all changes: