From 41a6243a878cbad51d8262d109438a3343e0f4cc Mon Sep 17 00:00:00 2001 From: Nate Weibley Date: Fri, 8 Jan 2016 17:31:17 -0500 Subject: [PATCH] Fix font rendering issues via whole integer window geometry --- src/VehicleSetup/SetupView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VehicleSetup/SetupView.qml b/src/VehicleSetup/SetupView.qml index a6bef3b74..a9678a588 100644 --- a/src/VehicleSetup/SetupView.qml +++ b/src/VehicleSetup/SetupView.qml @@ -45,8 +45,8 @@ Rectangle { readonly property real _defaultTextHeight: ScreenTools.defaultFontPixelHeight readonly property real _defaultTextWidth: ScreenTools.defaultFontPixelWidth - readonly property real _margin: _defaultTextHeight / 2 - readonly property real _buttonWidth: _defaultTextWidth * 18 + readonly property real _margin: Math.round(_defaultTextHeight / 2) + readonly property real _buttonWidth: Math.round(_defaultTextWidth * 18) readonly property string _armedVehicleText: "This operation cannot be performed while vehicle is armed." property string _messagePanelText: "missing message panel text" -- 2.22.0