on xenial help sign in
Don't add margins to Indicators, only to IndicatorRow instead.
commit80f8f3a36823385ec680a3763111fae3fe6ead82 authorMichał Sawicz <michal.sawicz@canonical.com> dateMon 17 Mar 2014, 12:20 (13 years ago) parent74fb2f9
2 files changed+2−2
qml/Panel/Indicators.qml+1 qml/Panel/Panel.qml+1−2
qml/Panel/Indicators.qml+1
@@ -255,6 +255,7 @@ Showable {
255255 anchors {
256256 left: parent.left
257257 right: parent.right
258+ margins: units.gu(1)
258259 }
259260 height: indicators.panelHeight
260261 indicatorsModel: visibleIndicators.model
qml/Panel/Panel.qml+1−2
@@ -21,7 +21,7 @@ import "../Components"
2121Item {
2222 id: root
2323 readonly property real panelHeight: units.gu(3) + units.dp(2)
24− property real indicatorsMenuWidth: (shell.width > units.gu(60)) ? units.gu(38) : shell.width - units.gu(2)
24+ property real indicatorsMenuWidth: width
2525 property alias indicators: indicatorsMenu
2626 property bool fullscreenMode: false
2727 property bool searchVisible: true
@@ -98,7 +98,6 @@ Item {
9898 objectName: "indicators"
9999
100100 anchors.right: parent.right
101− anchors.rightMargin: units.gu(1)
102101 y: panelBackground.y
103102 width: root.indicatorsMenuWidth
104103 shown: false