From 03cf52d5d13e705903d35ea47ba52e676cacc494 Mon Sep 17 00:00:00 2001
From: DonLakeFlyer <don@thegagnes.com>
Date: Thu, 18 Feb 2021 13:31:45 -0800
Subject: [PATCH] Fix frame selection when using Mixed Modes for altitudes.

---
 src/PlanView/SimpleItemEditor.qml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/PlanView/SimpleItemEditor.qml b/src/PlanView/SimpleItemEditor.qml
index b5271d1..a11958d 100644
--- a/src/PlanView/SimpleItemEditor.qml
+++ b/src/PlanView/SimpleItemEditor.qml
@@ -150,9 +150,9 @@ Rectangle {
                     }
 
                     Item {
-                        width:      altModeDropArrow.x + altModeDropArrow.width
-                        height:     altModeLabel.height
-                        visible:    _globalAltModeIsMixed
+                        Layout.preferredWidth:  altModeDropArrow.x + altModeDropArrow.width
+                        Layout.preferredHeight: altModeLabel.height
+                        visible:                _globalAltModeIsMixed
 
                         QGCLabel { id: altModeLabel }