mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:33:27 +02:00
fix indents, fix resize for keyboard changes
This commit is contained in:
parent
80699e826a
commit
f0f10d837c
2 changed files with 205 additions and 209 deletions
|
@ -218,12 +218,8 @@ Item {
|
|||
onHeightChanged: d.resize(); onWidthChanged: d.resize();
|
||||
|
||||
Button {
|
||||
id: signupButton
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
width: 150
|
||||
|
||||
text: qsTr("Sign Up")
|
||||
visible: !loginDialog.isSteamRunning()
|
||||
|
||||
|
|
|
@ -47,9 +47,9 @@ Item {
|
|||
4 * hifi.dimensions.contentSpacing.y + form.height +
|
||||
hifi.dimensions.contentSpacing.y + buttons.height;
|
||||
|
||||
root.width = Math.max(d.minWidth, Math.min(d.maxWidth, targetWidth));
|
||||
root.height = Math.max(d.minHeight, Math.min(d.maxHeight, targetHeight))
|
||||
+ (keyboardEnabled && keyboardRaised ? (200 + 2 * hifi.dimensions.contentSpacing.y) : hifi.dimensions.contentSpacing.y);
|
||||
width = root.width = Math.max(d.minWidth, Math.min(d.maxWidth, targetWidth));
|
||||
height = root.height = Math.max(d.minHeight, Math.min(d.maxHeight, targetHeight))
|
||||
+ (keyboardEnabled && keyboardRaised ? (200 + 2 * hifi.dimensions.contentSpacing.y) : 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue