From 6ea52e5808be8d496d350d5dfad93380571b8699 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 13 May 2015 18:09:58 -0700 Subject: [PATCH] Tweak SetupButton width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This prevents the indicator from overlapping the “Flight Modes” text --- src/QmlControls/SubMenuButton.qml | 2 +- src/VehicleSetup/SetupView.ui | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/QmlControls/SubMenuButton.qml b/src/QmlControls/SubMenuButton.qml index 9c5ef6db4..845a4715c 100644 --- a/src/QmlControls/SubMenuButton.qml +++ b/src/QmlControls/SubMenuButton.qml @@ -49,7 +49,7 @@ Button { readonly property real indicatorRadius: 4 - x: parent.width - (indicatorRadius * 2) - 5 + x: parent.width - (indicatorRadius * 2) - 3 y: (parent.height - (indicatorRadius * 2)) / 2 width: indicatorRadius * 2 height: indicatorRadius * 2 diff --git a/src/VehicleSetup/SetupView.ui b/src/VehicleSetup/SetupView.ui index aef9e3e41..1c0358cd5 100644 --- a/src/VehicleSetup/SetupView.ui +++ b/src/VehicleSetup/SetupView.ui @@ -36,13 +36,13 @@ - 120 + 125 0 - 120 + 125 16777215 -- 2.22.0