From 092677687744b7798d0603b10b884916d6962d7e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 30 Nov 2015 01:14:43 +0100 Subject: Align the labels ar right uniform look for forms: labels aligned at the right, fileds at the left Signed-off-by: Marco Martin --- qt-mobile/qml/DiveDetails.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 14cf8dcc4..d07cdcae9 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -92,6 +92,7 @@ MobileComponents.Page { } } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Location:" } TextField { @@ -100,6 +101,7 @@ MobileComponents.Page { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Air Temp:" } TextField { @@ -109,6 +111,7 @@ MobileComponents.Page { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Water Temp:" } TextField { @@ -118,6 +121,7 @@ MobileComponents.Page { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Suit:" } @@ -128,6 +132,7 @@ MobileComponents.Page { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Buddy:" } TextField { @@ -137,6 +142,7 @@ MobileComponents.Page { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Dive Master:" } TextField { @@ -146,6 +152,7 @@ MobileComponents.Page { } MobileComponents.Label { + Layout.alignment: Qt.AlignRight text: "Notes:" } TextEdit{ -- cgit v1.2.3-70-g09d2