diff --git a/src/QmlControls/QGCCheckBox.qml b/src/QmlControls/QGCCheckBox.qml index 25aa8fff0fcdcd90a4fdeb020539ca2ffee21854..2de84fc771d307b199e79aa5dbf460dc8f00d1e6 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 } }