mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
QML UI: two columns on 1024x768 iPads
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
33f006194b
commit
b8253bb707
1 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@ Kirigami.ApplicationWindow {
|
|||
property color shadedColor: "#132744"
|
||||
property color accentTextColor: "#ececec"
|
||||
property color diveListTextColor: "#000000" // the Kirigami theme text color is too light
|
||||
property int columnWidth: Math.round(rootItem.width/(Kirigami.Units.gridUnit*30)) > 0 ? Math.round(rootItem.width / Math.round(rootItem.width/(Kirigami.Units.gridUnit*30))) : rootItem.width
|
||||
property int columnWidth: Math.round(rootItem.width/(Kirigami.Units.gridUnit*28)) > 0 ? Math.round(rootItem.width / Math.round(rootItem.width/(Kirigami.Units.gridUnit*28))) : rootItem.width
|
||||
}
|
||||
|
||||
property Item stackView: pageStack
|
||||
|
@ -379,7 +379,7 @@ Kirigami.ApplicationWindow {
|
|||
rootItem.visible = true
|
||||
diveList.opacity = 1
|
||||
rootItem.opacity = 1
|
||||
pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 30
|
||||
pageStack.defaultColumnWidth = Kirigami.Units.gridUnit * 28
|
||||
}
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
|
|
Loading…
Add table
Reference in a new issue