Commit 542dbc4b authored by Lorenz Meier's avatar Lorenz Meier

Fix layout of mag cal

parent ffded6de
......@@ -181,8 +181,12 @@ QGCView {
anchors.fill: parent
spacing: 10
Column {
spacing: 5
QGCLabel {
width: parent.width
wrapMode: Text.WordWrap
text: compassRotationText
}
// Compass 0 rotation
Component {
id: compass0ComponentLabel
......@@ -193,15 +197,6 @@ QGCView {
}
}
Component {
id: compass0ComponentText
QGCLabel {
width: parent.width
wrapMode: Text.WordWrap
text: compassRotationText
}
}
Component {
id: compass0ComponentCombo
......@@ -213,9 +208,7 @@ QGCView {
}
}
Loader { sourceComponent: showCompass0Rot ? compass0ComponentLabel : null }
Loader { sourceComponent: showCompass0Rot ? compass0ComponentText : null }
Loader { sourceComponent: showCompass0Rot ? compass0ComponentCombo : null }
}
// Compass 1 rotation
Component {
id: compass1ComponentLabel
......
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