on xenial help sign in
Don't add margins to Indicators, only to IndicatorRow instead.
80f8f3aMichał Sawicz
qml/Panel/Indicators.qml+1
@@ -255,6 +255,7 @@ Showable {
255 anchors {
255 anchors {
256 left: parent.left
256 left: parent.left
257 right: parent.right
257 right: parent.right
258+ margins: units.gu(1)
258 }
259 }
259 height: indicators.panelHeight
260 height: indicators.panelHeight
260 indicatorsModel: visibleIndicators.model
261 indicatorsModel: visibleIndicators.model
qml/Panel/Panel.qml+1−2
@@ -21,7 +21,7 @@ import "../Components"
21Item {
21Item {
22 id: root
22 id: root
23 readonly property real panelHeight: units.gu(3) + units.dp(2)
23 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
25 property alias indicators: indicatorsMenu
25 property alias indicators: indicatorsMenu
26 property bool fullscreenMode: false
26 property bool fullscreenMode: false
27 property bool searchVisible: true
27 property bool searchVisible: true
@@ -98,7 +98,6 @@ Item {
98 objectName: "indicators"
98 objectName: "indicators"
99
99
100 anchors.right: parent.right
100 anchors.right: parent.right
101− anchors.rightMargin: units.gu(1)
102 y: panelBackground.y
101 y: panelBackground.y
103 width: root.indicatorsMenuWidth
102 width: root.indicatorsMenuWidth
104 shown: false
103 shown: false