on xenial help sign in
Fixed indicator slider menu item alignment to label field and icon. Fixes: https://bugs.launchpad.net/bugs/1240756.

Approved by PS Jenkins bot, Andrea Cimitan.

commit71e8dd4a226dd5a3f1b4e49bed2ffdb3e8c1b7c3 authorNick Dedekind <nicholas.dedekind@gmail.com> dateTue 5 Nov 2013, 13:54 (13 years ago) parented083898b04822
1 file changed+3−2
plugins/Unity/Indicators/qml/SliderMenuItem.qml+3−2
plugins/Unity/Indicators/qml/SliderMenuItem.qml+3−2
@@ -51,12 +51,12 @@ FramedMenuItem {
5151
5252 control: Item {
5353 id: row
54− width: sliderMenu.text ? units.gu(20) : menuItem.width - (2 * menuItem.__contentsMargins)
54+ width: menuItem.text ? units.gu(20) : menuItem.width - (2 * menuItem.__contentsMargins)
5555 height: slider.height
5656
5757 Image {
5858 id: leftImage
59− visible: source != ""
59+ visible: status === Image.Ready
6060 anchors.left: row.left
6161 anchors.verticalCenter: row.verticalCenter
6262 height: units.gu(4)
@@ -96,6 +96,7 @@ FramedMenuItem {
9696
9797 Image {
9898 id: rightImage
99+ visible: status === Image.Ready
99100 anchors.right: row.right
100101 anchors.verticalCenter: row.verticalCenter
101102 height: units.gu(4)