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>
This commit is contained in:
Dirk Hohndel 2016-02-11 07:01:24 -08:00
parent 9bebef59d8
commit e189433a5d

View file

@ -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
}
}
}