Commit 9f37a790 authored by Don Gagne's avatar Don Gagne

Merge pull request #2557 from NaterGator/fontfix

Fix ugly font rendering in Windows
parents 62eed38a 41a6243a
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment