on xenial help sign in
Fixed slider alignment to label and icon.
commitddb19d744fff9d035089aeaa01b8f4b29ff23d4d authorNick Dedekind <nicholas.dedekind@gmail.com> dateMon 28 Oct 2013, 12:33 (13 years ago) parenta8b869d
1 file changed+2−1
plugins/Unity/Indicators/qml/SliderMenuItem.qml+2−1
plugins/Unity/Indicators/qml/SliderMenuItem.qml+2−1
@@ -51,7 +51,7 @@ 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 {
@@ -96,6 +96,7 @@ FramedMenuItem {
9696
9797 Image {
9898 id: rightImage
99+ visible: source != ""
99100 anchors.right: row.right
100101 anchors.verticalCenter: row.verticalCenter
101102 height: units.gu(4)