From e189433a5d79228b350d8f28f7822f6a767dfded Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 11 Feb 2016 07:01:24 -0800 Subject: QML UI: calculate correct height for the cloud credentials It still complains about a binding loop but I don't quite understand why and how... Signed-off-by: Dirk Hohndel --- qt-mobile/qml/CloudCredentials.qml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'qt-mobile/qml/CloudCredentials.qml') diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index f9459b0c6..649e57240 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -8,14 +8,14 @@ import org.subsurfacedivelog.mobile 1.0 Item { id: loginWindow - - signal accept + height: outerLayout.height + 2 * MobileComponents.Units.gridUnit property string username: login.text; property string password: password.text; property bool issave: savePassword.checked; ColumnLayout { + id: outerLayout width: subsurfaceTheme.columnWidth - 2 * MobileComponents.Units.gridUnit MobileComponents.Heading { text: "Cloud credentials" @@ -100,8 +100,5 @@ Item { } } - Item { - Layout.fillHeight: true - } } } -- cgit v1.2.3-70-g09d2