mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 15:14:13 +02:00
Fixes after reviewing against latest UI Toolkit doc
This commit is contained in:
parent
558c8872b1
commit
bfedd24ad7
2 changed files with 10 additions and 8 deletions
|
@ -21,7 +21,9 @@ TextField {
|
|||
property string label: ""
|
||||
|
||||
FontLoader { id: firaSansSemiBold; source: "../../fonts/FiraSans-SemiBold.ttf"; }
|
||||
font.family: firaSansSemiBold.name
|
||||
font.pointSize: hifi.fontSizes.textFieldInput
|
||||
height: implicitHeight + 4 // Make surrounding box higher so that highlight is vertically centered.
|
||||
|
||||
style: TextFieldStyle {
|
||||
textColor: textField.colorScheme == hifi.colorSchemes.light
|
||||
|
@ -43,7 +45,7 @@ TextField {
|
|||
|
||||
RalewaySemibold {
|
||||
text: textField.label
|
||||
size: 13.5
|
||||
size: hifi.fontSizes.inputLabel
|
||||
color: hifi.colors.lightGray
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: parent.top
|
||||
|
|
|
@ -84,17 +84,17 @@ Item {
|
|||
readonly property real overlayTitle: dimensions.largeScreen? 16 : 12
|
||||
readonly property real tabName: dimensions.largeScreen? 11 : 9
|
||||
readonly property real sectionName: dimensions.largeScreen? 11 : 9
|
||||
readonly property real inputLabel: dimensions.largeScreen? 11 : 9
|
||||
readonly property real inputLabel: dimensions.largeScreen? 13.5 : 9
|
||||
readonly property real textFieldInput: dimensions.largeScreen? 13.5 : 11
|
||||
readonly property real tableText: dimensions.largeScreen? 13.5 : 11
|
||||
readonly property real buttonLabel: dimensions.largeScreen? 12 : 10
|
||||
readonly property real button: dimensions.largeScreen? 12 : 10
|
||||
readonly property real listItem: dimensions.largeScreen? 11 : 9
|
||||
readonly property real buttonLabel: dimensions.largeScreen? 12 : 8
|
||||
readonly property real iconButton: dimensions.largeScreen? 12: 8
|
||||
readonly property real listItem: dimensions.largeScreen? 13.5 : 9
|
||||
readonly property real tabularData: dimensions.largeScreen? 11 : 9
|
||||
readonly property real logo: dimensions.largeScreen? 15 : 10
|
||||
readonly property real logs: dimensions.largeScreen? 15 : 10
|
||||
readonly property real code: dimensions.largeScreen? 15 : 10
|
||||
readonly property real rootMenu: dimensions.largeScreen? 11 : 9
|
||||
readonly property real menuItem: dimensions.largeScreen? 11 : 9
|
||||
readonly property real rootMenu: dimensions.largeScreen? 13.5 : 9
|
||||
readonly property real menuItem: dimensions.largeScreen? 13.5 : 9
|
||||
readonly property real shortcutText: dimensions.largeScreen? 12 : 8
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue