mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: prevent full overflow of bottom buttons
A not perfect improvement, but way better IMHO. Prevent the list of downloaded dives to grow over the buttons at the bottom. Just a simple change by adding a bottomMargin to the list. Notice that there is still some overlap, but for now I consider this a trade-off between the scarce screen real-estate and the wish to present and much as possible dowloaded dives. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
f25cc3a67f
commit
6bd5312dfa
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,7 @@ Kirigami.Page {
|
||||||
top: buttonBar.bottom
|
top: buttonBar.bottom
|
||||||
topMargin: Kirigami.Units.smallSpacing * 4
|
topMargin: Kirigami.Units.smallSpacing * 4
|
||||||
}
|
}
|
||||||
|
Layout.bottomMargin: bottomButtons.height * 1.5
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
|
@ -243,6 +244,7 @@ Kirigami.Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
id: bottomButtons
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
text: "" // Spacer on the left for hamburger menu
|
text: "" // Spacer on the left for hamburger menu
|
||||||
|
|
Loading…
Add table
Reference in a new issue