Commit 7736e244 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Fix height of slider confirm switch (#3708)

parent accccba2
...@@ -503,7 +503,6 @@ Item { ...@@ -503,7 +503,6 @@ Item {
anchors.bottomMargin: _margins anchors.bottomMargin: _margins
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
height: _guidedModeBar.height
visible: false visible: false
z: QGroundControl.zOrderWidgets z: QGroundControl.zOrderWidgets
fontPointSize: _guidedModeBar._fontPointSize fontPointSize: _guidedModeBar._fontPointSize
......
...@@ -9,6 +9,7 @@ import QGroundControl.Palette 1.0 ...@@ -9,6 +9,7 @@ import QGroundControl.Palette 1.0
Rectangle { Rectangle {
id: _root id: _root
width: label.contentWidth + (_diameter * 2.5) + (_border * 4) width: label.contentWidth + (_diameter * 2.5) + (_border * 4)
height: label.height * 2.5
radius: height /2 radius: height /2
color: qgcPal.window color: qgcPal.window
......
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