|
|
|
@ -3,8 +3,6 @@ import Sailfish.Silica 1.0
|
|
|
|
|
|
|
|
|
|
Page {
|
|
|
|
|
id: page
|
|
|
|
|
|
|
|
|
|
// The effective value will be restricted by ApplicationWindow.allowedOrientations
|
|
|
|
|
allowedOrientations: Orientation.All
|
|
|
|
|
|
|
|
|
|
SilicaFlickable {
|
|
|
|
@ -21,7 +19,7 @@ Page {
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
id: baseRect
|
|
|
|
|
color: "red"
|
|
|
|
|
color: "#facccc"
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -29,27 +27,35 @@ Page {
|
|
|
|
|
title: qsTr("UI Template")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
|
id: firstLabel
|
|
|
|
|
anchors {
|
|
|
|
|
horizontalCenter: parent.horizontalCenter
|
|
|
|
|
top: parent.top
|
|
|
|
|
Column {
|
|
|
|
|
id: column
|
|
|
|
|
width: parent.width
|
|
|
|
|
spacing: 10
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
|
id: firstLabel
|
|
|
|
|
width: parent.width
|
|
|
|
|
text: qsTr("Argh")
|
|
|
|
|
color: Theme.secondaryHighlightColor
|
|
|
|
|
font.pixelSize: Theme.fontSizeExtraLarge
|
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
|
}
|
|
|
|
|
text: qsTr("Argh")
|
|
|
|
|
color: Theme.secondaryHighlightColor
|
|
|
|
|
font.pixelSize: Theme.fontSizeExtraLarge
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
|
id: secondField
|
|
|
|
|
width: parent.width
|
|
|
|
|
anchors {
|
|
|
|
|
horizontalCenter: parent.horizontalCenter
|
|
|
|
|
verticalCenter: parent.verticalCenter
|
|
|
|
|
TextField {
|
|
|
|
|
id: secondField
|
|
|
|
|
width: parent.width
|
|
|
|
|
placeholderText: "Enter text"
|
|
|
|
|
font.pixelSize: Theme.fontSizeLarge
|
|
|
|
|
font.bold: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TextField {
|
|
|
|
|
id: thirdField
|
|
|
|
|
width: parent.width
|
|
|
|
|
placeholderText: "Enter text again"
|
|
|
|
|
font.pixelSize: Theme.fontSizeLarge
|
|
|
|
|
font.bold: true
|
|
|
|
|
}
|
|
|
|
|
placeholderText: "Enter text"
|
|
|
|
|
font.pixelSize: Theme.fontSizeLarge
|
|
|
|
|
font.bold: true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|