From 1df6ada0c81fecf1bb8b57975801a7ae99a9424d Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Tue, 3 Nov 2015 23:12:15 -0500 Subject: [PATCH] Fixing QGCCheckBox --- src/QmlControls/QGCCheckBox.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/QmlControls/QGCCheckBox.qml b/src/QmlControls/QGCCheckBox.qml index 25aa8fff0..2de84fc77 100644 --- a/src/QmlControls/QGCCheckBox.qml +++ b/src/QmlControls/QGCCheckBox.qml @@ -30,9 +30,8 @@ CheckBox { text: control.text antialiasing: true font.pixelSize: ScreenTools.defaultFontPixelSize - - anchors.centerIn: parent - + // This messes up when a *width*, which is wider than the control is given + // anchors.centerIn: parent color: control.__qgcPal.text } } -- 2.22.0