mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Increase address bar dialog size
Including font size, just for this dialog.
This commit is contained in:
parent
ec1cb72dd5
commit
878227ab8b
1 changed files with 6 additions and 3 deletions
|
@ -22,6 +22,7 @@ Item {
|
|||
|
||||
property int animationDuration: hifi.effects.fadeInDuration
|
||||
property bool destroyOnInvisible: false
|
||||
property real scale: 1.25 // Make this dialog a little larger than normal
|
||||
|
||||
implicitWidth: addressBarDialog.implicitWidth
|
||||
implicitHeight: addressBarDialog.implicitHeight
|
||||
|
@ -41,9 +42,9 @@ Item {
|
|||
id: backgroundImage
|
||||
|
||||
source: "../images/address-bar.svg"
|
||||
width: 576
|
||||
height: 80
|
||||
property int inputAreaHeight: 56 // Height of the background's input area
|
||||
width: 576 * root.scale
|
||||
height: 80 * root.scale
|
||||
property int inputAreaHeight: 56.0 * root.scale // Height of the background's input area
|
||||
property int inputAreaStep: (height - inputAreaHeight) / 2
|
||||
|
||||
TextInput {
|
||||
|
@ -58,6 +59,8 @@ Item {
|
|||
|
||||
}
|
||||
|
||||
font.pixelSize: hifi.fonts.pixelSize * root.scale
|
||||
|
||||
helperText: "Go to: place, @user, /path, network address"
|
||||
|
||||
onAccepted: {
|
||||
|
|
Loading…
Reference in a new issue