mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/dive-summary: make the drop downs smaller
Especially on smaller screens we had issues fitting this on the screen. And it looks fine on larger screens as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4982751bbe
commit
1549d6f528
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,7 @@ Kirigami.ScrollablePage {
|
||||||
editable: false
|
editable: false
|
||||||
currentIndex: 0
|
currentIndex: 0
|
||||||
model: monthModel
|
model: monthModel
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
onActivated: {
|
onActivated: {
|
||||||
summaryModel.calc(0, currentIndex)
|
summaryModel.calc(0, currentIndex)
|
||||||
}
|
}
|
||||||
|
@ -100,6 +101,7 @@ Kirigami.ScrollablePage {
|
||||||
editable: false
|
editable: false
|
||||||
currentIndex: 3
|
currentIndex: 3
|
||||||
model: monthModel
|
model: monthModel
|
||||||
|
font.pointSize: subsurfaceTheme.smallPointSize
|
||||||
onActivated: {
|
onActivated: {
|
||||||
summaryModel.calc(1, currentIndex)
|
summaryModel.calc(1, currentIndex)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue