Browse Source

Merge pull request #1866 from DonLakeFlyer/VehicleSummary

Stop using fixed pixel count spacing
QGC4.4
Don Gagne 10 years ago
parent
commit
46fd24138d
  1. 8
      src/VehicleSetup/VehicleSummary.qml

8
src/VehicleSetup/VehicleSummary.qml

@ -76,7 +76,7 @@ Rectangle { @@ -76,7 +76,7 @@ Rectangle {
Flow {
width: parent.width
spacing: 10
spacing: ScreenTools.defaultFontPixelWidth
Repeater {
model: multiVehicleManager.activeVehicle.autopilot.vehicleComponents
@ -84,10 +84,10 @@ Rectangle { @@ -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

Loading…
Cancel
Save