|
|
@ -11,6 +11,7 @@ TextField { |
|
|
|
textColor: qgcPal.textFieldText |
|
|
|
textColor: qgcPal.textFieldText |
|
|
|
implicitHeight: ScreenTools.implicitTextFieldHeight |
|
|
|
implicitHeight: ScreenTools.implicitTextFieldHeight |
|
|
|
activeFocusOnPress: true |
|
|
|
activeFocusOnPress: true |
|
|
|
|
|
|
|
antialiasing: true |
|
|
|
|
|
|
|
|
|
|
|
property bool showUnits: false |
|
|
|
property bool showUnits: false |
|
|
|
property bool showHelp: false |
|
|
|
property bool showHelp: false |
|
|
@ -47,7 +48,11 @@ TextField { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
style: TextFieldStyle { |
|
|
|
style: TextFieldStyle { |
|
|
|
|
|
|
|
id: tfs |
|
|
|
font.pointSize: ScreenTools.defaultFontPointSize |
|
|
|
font.pointSize: ScreenTools.defaultFontPointSize |
|
|
|
|
|
|
|
font.family: ScreenTools.normalFontFamily |
|
|
|
|
|
|
|
renderType: ScreenTools.isWindows ? Text.QtRendering : tfs.renderType // This works around font rendering problems on windows |
|
|
|
|
|
|
|
|
|
|
|
background: Item { |
|
|
|
background: Item { |
|
|
|
id: backgroundItem |
|
|
|
id: backgroundItem |
|
|
|
|
|
|
|
|
|
|
|