Commit d8fdf673 authored by Gus Grubba's avatar Gus Grubba

Don't create a new instance (and a new binding) of QGCPalette for every instance of QGCLabel.

parent 11c9c79e
......@@ -6,9 +6,8 @@ import QGroundControl.Palette 1.0
import QGroundControl.ScreenTools 1.0
Text {
QGCPalette { id: __qgcPal; colorGroupEnabled: enabled }
font.pointSize: ScreenTools.defaultFontPointSize
font.family: ScreenTools.normalFontFamily
color: __qgcPal.text
color: qgcPal.text
antialiasing: true
}
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