Commit 482e0da6 authored by Don Gagne's avatar Don Gagne

Color support

parent 3b129767
......@@ -6,7 +6,9 @@ import QGroundControl.Palette 1.0
import QGroundControl.ScreenTools 1.0
RadioButton {
property var __qgcPal: QGCPalette { colorGroupEnabled: enabled }
property var color: _qgcPal.text ///< Text color
property var _qgcPal: QGCPalette { colorGroupEnabled: enabled }
style: RadioButtonStyle {
label: Item {
......@@ -31,7 +33,7 @@ RadioButton {
font.pointSize: ScreenTools.defaultFontPointSize
font.family: ScreenTools.normalFontFamily
antialiasing: true
color: control.__qgcPal.text
color: control.color
anchors.centerIn: parent
}
}
......
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