mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-03 15:43:09 +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 {
|
Item {
|
||||||
id: loginWindow
|
id: loginWindow
|
||||||
|
height: outerLayout.height + 2 * MobileComponents.Units.gridUnit
|
||||||
signal accept
|
|
||||||
|
|
||||||
property string username: login.text;
|
property string username: login.text;
|
||||||
property string password: password.text;
|
property string password: password.text;
|
||||||
property bool issave: savePassword.checked;
|
property bool issave: savePassword.checked;
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
id: outerLayout
|
||||||
width: subsurfaceTheme.columnWidth - 2 * MobileComponents.Units.gridUnit
|
width: subsurfaceTheme.columnWidth - 2 * MobileComponents.Units.gridUnit
|
||||||
MobileComponents.Heading {
|
MobileComponents.Heading {
|
||||||
text: "Cloud credentials"
|
text: "Cloud credentials"
|
||||||
|
@ -100,8 +100,5 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
|
||||||
Layout.fillHeight: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue