mirror of
https://github.com/overte-org/overte.git
synced 2025-07-17 18:57:00 +02:00
dev feedback/fixing keyboard in profile creation
This commit is contained in:
parent
0a0b7bf1ad
commit
a2ebb67cd5
2 changed files with 11 additions and 19 deletions
|
@ -131,22 +131,6 @@ Item {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Component.onCompleted: {
|
|
||||||
root.text = "";
|
|
||||||
root.isPassword = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Override ScrollingWindow's keyboard that would be at very bottom of dialog.
|
|
||||||
HifiControlsUit.Keyboard {
|
|
||||||
raised: keyboardEnabled && keyboardRaised
|
|
||||||
numeric: punctuationMode
|
|
||||||
anchors {
|
|
||||||
left: parent.left
|
|
||||||
right: parent.right
|
|
||||||
bottom: buttons.top
|
|
||||||
bottomMargin: keyboardRaised ? 2 * hifi.dimensions.contentSpacing.y : 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
@ -201,6 +185,14 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
//but rise Tablet's one instead for Tablet interface
|
||||||
|
root.keyboardEnabled = HMD.active;
|
||||||
|
root.keyboardRaised = Qt.binding( function() { return keyboardRaised; })
|
||||||
|
root.text = "";
|
||||||
|
d.resize();
|
||||||
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: loginDialog
|
target: loginDialog
|
||||||
onHandleCreateCompleted: {
|
onHandleCreateCompleted: {
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
|
|
||||||
class LoginStateManager : protected ReadWriteLockable {
|
class LoginStateManager : protected ReadWriteLockable {
|
||||||
public:
|
public:
|
||||||
LoginStateManager() {}
|
LoginStateManager() = default;
|
||||||
~LoginStateManager() {}
|
~LoginStateManager() = default;
|
||||||
|
|
||||||
void setUp();
|
void setUp();
|
||||||
void tearDown();
|
void tearDown();
|
||||||
|
@ -38,4 +38,4 @@ private:
|
||||||
unsigned int _rightLoginPointerID { PointerEvent::INVALID_POINTER_ID };
|
unsigned int _rightLoginPointerID { PointerEvent::INVALID_POINTER_ID };
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // hifi_LoginStateManager_h
|
#endif // hifi_LoginStateManager_h
|
||||||
|
|
Loading…
Reference in a new issue