Commit 27611359 authored by Don Gagne's avatar Don Gagne

Bump height for mobile

parent 2d5b2dbb
...@@ -20,15 +20,14 @@ TextField { ...@@ -20,15 +20,14 @@ TextField {
property var __qgcPal: QGCPalette { colorGroupEnabled: enabled } property var __qgcPal: QGCPalette { colorGroupEnabled: enabled }
textColor: __qgcPal.textFieldText textColor: __qgcPal.textFieldText
height: ScreenTools.isMobile ? Math.max(25, Math.round(ScreenTools.defaultFontPixelHeight * 2)) : Math.max(25, Math.round(ScreenTools.defaultFontPixelHeight * 1.2)) height: Math.round(Math.max(25, ScreenTools.defaultFontPixelHeight * (ScreenTools.isMobile ? 2.5 : 1.2)))
Label { QGCLabel {
id: unitsLabelWidthGenerator id: unitsLabelWidthGenerator
text: unitsLabel text: unitsLabel
width: contentWidth + parent.__contentHeight * 0.666 width: contentWidth + parent.__contentHeight * 0.666
visible: false visible: false
antialiasing: true antialiasing: true
font.family: ScreenTools.normalFontFamily
} }
style: TextFieldStyle { style: TextFieldStyle {
......
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