Commit 3a0a0ca4 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Remove left margin from legend in bar and line chart faces

Otherwise there is a bunch of unused space next to the legend.
parent 10e8ab28
......@@ -119,7 +119,6 @@ Faces.SensorFace {
Layout.fillWidth: root.width < implicitWidth * 1.5
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
Layout.fillHeight: true
Layout.leftMargin: compactRepresentation.x
Layout.minimumHeight: root.formFactor === Faces.SensorFace.Horizontal
|| root.formFactor === Faces.SensorFace.Vertical
? implicitHeight
......
......@@ -118,7 +118,6 @@ Faces.SensorFace {
Layout.fillWidth: root.width < implicitWidth * 1.5
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
Layout.fillHeight: true
Layout.leftMargin: compactRepresentation.x
Layout.minimumHeight: root.formFactor === Faces.SensorFace.Horizontal
|| root.formFactor === Faces.SensorFace.Vertical
? implicitHeight
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment