Commit 2b562b90 authored by Don Gagne's avatar Don Gagne

Stop using fixed pixel count spacing

parent 81621c14
...@@ -75,8 +75,8 @@ Rectangle { ...@@ -75,8 +75,8 @@ Rectangle {
} }
Flow { Flow {
width: parent.width width: parent.width
spacing: 10 spacing: ScreenTools.defaultFontPixelWidth
Repeater { Repeater {
model: multiVehicleManager.activeVehicle.autopilot.vehicleComponents model: multiVehicleManager.activeVehicle.autopilot.vehicleComponents
...@@ -84,10 +84,10 @@ Rectangle { ...@@ -84,10 +84,10 @@ Rectangle {
// Outer summary item rectangle // Outer summary item rectangle
Rectangle { Rectangle {
readonly property real titleHeight: 30 readonly property real titleHeight: ScreenTools.defaultFontPixelHeight * 2
width: 250 width: ScreenTools.defaultFontPixelWidth * 28
height: 200 height: ScreenTools.defaultFontPixelHeight * 13
color: qgcPal.windowShade color: qgcPal.windowShade
// Title bar // Title bar
......
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