From 2b562b90dc7c99a68ee9711c3ca665840dc08255 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 10 Sep 2015 19:22:32 -0700 Subject: [PATCH] Stop using fixed pixel count spacing --- src/VehicleSetup/VehicleSummary.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/VehicleSetup/VehicleSummary.qml b/src/VehicleSetup/VehicleSummary.qml index 3c711cf..89154d9 100644 --- a/src/VehicleSetup/VehicleSummary.qml +++ b/src/VehicleSetup/VehicleSummary.qml @@ -75,8 +75,8 @@ Rectangle { } Flow { - width: parent.width - spacing: 10 + width: parent.width + spacing: ScreenTools.defaultFontPixelWidth Repeater { model: multiVehicleManager.activeVehicle.autopilot.vehicleComponents @@ -84,10 +84,10 @@ Rectangle { // Outer summary item rectangle Rectangle { - readonly property real titleHeight: 30 + readonly property real titleHeight: ScreenTools.defaultFontPixelHeight * 2 - width: 250 - height: 200 + width: ScreenTools.defaultFontPixelWidth * 28 + height: ScreenTools.defaultFontPixelHeight * 13 color: qgcPal.windowShade // Title bar