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
=== modified file 'src/Widgets/Scale.vala'
--- src/Widgets/Scale.vala 2015-06-03 13:03:03 +0000
+++ src/Widgets/Scale.vala 2015-10-04 20:37:43 +0000
@@ -38,9 +38,9 @@
3838
39 switch_widget = new Gtk.Switch ();39 switch_widget = new Gtk.Switch ();
40 switch_widget.active = active;40 switch_widget.active = active;
41 switch_widget.halign = Gtk.Align.END;41 switch_widget.valign = Gtk.Align.CENTER;
42 switch_widget.margin_start = 6;42 switch_widget.margin_start = 6;
43 switch_widget.margin_end = 0;43 switch_widget.margin_end = 12;
4444
45 this.attach (switch_widget, 2, 0, 1, 1);45 this.attach (switch_widget, 2, 0, 1, 1);
4646

Subscribers

People subscribed via source and target branches

to all changes: