projects
/
ubi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auth bug fix
[ubi]
/
qml
/
ubi
/
LoginPage.qml
diff --git
a/qml/ubi/LoginPage.qml
b/qml/ubi/LoginPage.qml
index
d951800
..
4b55018
100644
(file)
--- a/
qml/ubi/LoginPage.qml
+++ b/
qml/ubi/LoginPage.qml
@@
-47,6
+47,7
@@
Page {
id: content
spacing: Const.DEFAULT_MARGIN
x: Const.TEXT_MARGIN
id: content
spacing: Const.DEFAULT_MARGIN
x: Const.TEXT_MARGIN
+ width: root.width-2*Const.TEXT_MARGIN
Spacer {}
Spacer {}
@@
-61,14
+62,16
@@
Page {
TextField {
id: user
placeholderText: qsTr("User ID")
TextField {
id: user
placeholderText: qsTr("User ID")
- width: 400
+ anchors.left: parent.left
+ anchors.right: parent.right
}
TextField {
id: pass
}
TextField {
id: pass
- width: 400
placeholderText: qsTr("Password")
echoMode: TextInput.Password
placeholderText: qsTr("Password")
echoMode: TextInput.Password
+ anchors.left: parent.left
+ anchors.right: parent.right
}
Spacer {}
}
Spacer {}
@@
-76,6
+79,7
@@
Page {
Button {
label: qsTr("Save")
onButtonClicked: root.getToken()
Button {
label: qsTr("Save")
onButtonClicked: root.getToken()
+ anchors.left: parent.left
}
}
}
}
}
}