mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 17:03:11 +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;
|
||||
}
|
||||
}
|
||||
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 {
|
||||
|
@ -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 {
|
||||
target: loginDialog
|
||||
onHandleCreateCompleted: {
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
class LoginStateManager : protected ReadWriteLockable {
|
||||
public:
|
||||
LoginStateManager() {}
|
||||
~LoginStateManager() {}
|
||||
LoginStateManager() = default;
|
||||
~LoginStateManager() = default;
|
||||
|
||||
void setUp();
|
||||
void tearDown();
|
||||
|
@ -38,4 +38,4 @@ private:
|
|||
unsigned int _rightLoginPointerID { PointerEvent::INVALID_POINTER_ID };
|
||||
};
|
||||
|
||||
#endif // hifi_LoginStateManager_h
|
||||
#endif // hifi_LoginStateManager_h
|
||||
|
|
Loading…
Reference in a new issue