mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
9bebef59d8
commit
e189433a5d
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue