diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-11 07:01:24 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-11 10:04:44 -0800 |
commit | e189433a5d79228b350d8f28f7822f6a767dfded (patch) | |
tree | bbd1eb17ea15c2ecfc8e9520e22b27374dbb425b /qt-mobile | |
parent | 9bebef59d880e84833b8b220ff14677a8af79e90 (diff) | |
download | subsurface-e189433a5d79228b350d8f28f7822f6a767dfded.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/CloudCredentials.qml | 7 |
1 files changed, 2 insertions, 5 deletions
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 - } } } |