mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:38:02 +02:00
helper text size and italic
This commit is contained in:
parent
d39446f340
commit
f5d07f4186
2 changed files with 7 additions and 2 deletions
|
@ -176,7 +176,9 @@ Window {
|
||||||
bottomMargin: parent.inputAreaStep + hifi.layout.spacing
|
bottomMargin: parent.inputAreaStep + hifi.layout.spacing
|
||||||
}
|
}
|
||||||
font.pixelSize: hifi.fonts.pixelSize * root.scale * 0.75
|
font.pixelSize: hifi.fonts.pixelSize * root.scale * 0.75
|
||||||
helperText: "Go to: place, @user, /path" //, network address"
|
helperText: "Go to: place, @user, /path, network address"
|
||||||
|
helperPixelSize: font.pixelSize * 0.75
|
||||||
|
helperItalic: true
|
||||||
onTextChanged: filterChoicesByText()
|
onTextChanged: filterChoicesByText()
|
||||||
}
|
}
|
||||||
// These two are radio buttons.
|
// These two are radio buttons.
|
||||||
|
|
|
@ -12,6 +12,8 @@ Original.TextInput {
|
||||||
verticalAlignment: Original.TextInput.AlignVCenter
|
verticalAlignment: Original.TextInput.AlignVCenter
|
||||||
font.family: hifi.fonts.fontFamily
|
font.family: hifi.fonts.fontFamily
|
||||||
font.pixelSize: hifi.fonts.pixelSize
|
font.pixelSize: hifi.fonts.pixelSize
|
||||||
|
property int helperPixelSize: font.pixelSize
|
||||||
|
property bool helperItalic: false
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Original.Rectangle {
|
Original.Rectangle {
|
||||||
|
@ -23,7 +25,8 @@ Original.TextInput {
|
||||||
*/
|
*/
|
||||||
Text {
|
Text {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
font.pixelSize: parent.font.pixelSize
|
font.pixelSize: helperPixelSize
|
||||||
|
font.italic: helperItalic
|
||||||
font.family: parent.font.family
|
font.family: parent.font.family
|
||||||
verticalAlignment: parent.verticalAlignment
|
verticalAlignment: parent.verticalAlignment
|
||||||
horizontalAlignment: parent.horizontalAlignment
|
horizontalAlignment: parent.horizontalAlignment
|
||||||
|
|
Loading…
Reference in a new issue