Skip to content

Instantly share code, notes, and snippets.

@whoozle
Created Apr 23, 2019
Embed
What would you like to do?
Item {
width: 30%;
height: 100%;
anchors.horizontalCenter: parent.horizontalCenter;
Rectangle {
anchors.fill: parent;
color: "#888";
}
Column {
width: parent.width;
anchors.centerIn: parent;
spacing: 8;
TextInput {
id: serverUrl;
PlaceHolder { text: "ServerUrl"; }
anchors.horizontalCenter: parent.horizontalCenter;
}
TextInput {
id: user;
PlaceHolder { text: "User"; }
anchors.horizontalCenter: parent.horizontalCenter;
}
TextInput {
id: password;
passwordMode: true;
PlaceHolder { text: "Password"; }
anchors.horizontalCenter: parent.horizontalCenter;
}
Button {
text: "Sign Up";
anchors.horizontalCenter: parent.horizontalCenter;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment