Commit 79c25d00 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Use GridUnit for spacing in horizontal layout

parent 4458986e
......@@ -43,7 +43,7 @@ ChartsControls.Legend {
Layout.maximumHeight: implicitHeight
Layout.maximumWidth: parent.width
spacing: Kirigami.Units.smallSpacing
spacing: flow == GridLayout.TopToBottom ? Kirigami.Units.smallSpacing : Kirigami.Units.gridUnit
valueVisible: true
valueWidth: Kirigami.Units.gridUnit * 2
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