mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: adjust grid unit on very narrow screens
If the default font size is big enough to leave us fewer than 21 grid units per row, shrink the grid unit. In order for this to create consistent results, we need to reduce the default column width to 21 grid units as well. And with that change, the columnWidth property becomes obsolete. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
00e673230a
commit
6ab4105211
2 changed files with 20 additions and 5 deletions
|
@ -12,7 +12,6 @@ Kirigami.ScrollablePage {
|
|||
objectName: "DiveList"
|
||||
title: qsTr("Dive list")
|
||||
verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff
|
||||
width: subsurfaceTheme.columnWidth
|
||||
property int credentialStatus: prefs.credentialStatus
|
||||
property int numDives: diveListView.count
|
||||
property color textColor: subsurfaceTheme.textColor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue