Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 1.1
- Rectangle {
- id: loginView;
- width: 230; height: 100;
- property int loginFontSize: 12;
- Grid {
- anchors { horizontalCenter: parent.horizontalCenter; verticalCenter: parent.verticalCenter; }
- columns: 2
- spacing: 10
- Text { id: loginText; text: "Login"; font.pointSize: loginView.loginFontSize; }
- Rectangle {
- border.color: "#808080";
- width: 100;
- height: loginText.height
- TextInput {
- id: login
- font.pointSize: loginText.font.pointSize;
- anchors.fill: parent
- }
- }
- Text { text: "Password"; font.pointSize: loginView.loginFontSize; }
- Rectangle {
- border.color: "#808080";
- width: 100;
- height: loginText.height
- TextInput {
- id: password
- font.pointSize: loginText.font.pointSize;
- anchors.fill: parent
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment