Align the labels ar right

uniform look for forms: labels aligned at
the right, fileds at the left

Signed-off-by: Marco Martin <notmart@gmail.com>
This commit is contained in:
Marco Martin 2015-11-30 01:14:43 +01:00 committed by Sebastian Kügler
parent cf9476c74e
commit 0926776877

View file

@ -92,6 +92,7 @@ MobileComponents.Page {
} }
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Location:" text: "Location:"
} }
TextField { TextField {
@ -100,6 +101,7 @@ MobileComponents.Page {
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Air Temp:" text: "Air Temp:"
} }
TextField { TextField {
@ -109,6 +111,7 @@ MobileComponents.Page {
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Water Temp:" text: "Water Temp:"
} }
TextField { TextField {
@ -118,6 +121,7 @@ MobileComponents.Page {
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Suit:" text: "Suit:"
} }
@ -128,6 +132,7 @@ MobileComponents.Page {
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Buddy:" text: "Buddy:"
} }
TextField { TextField {
@ -137,6 +142,7 @@ MobileComponents.Page {
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Dive Master:" text: "Dive Master:"
} }
TextField { TextField {
@ -146,6 +152,7 @@ MobileComponents.Page {
} }
MobileComponents.Label { MobileComponents.Label {
Layout.alignment: Qt.AlignRight
text: "Notes:" text: "Notes:"
} }
TextEdit{ TextEdit{