Added minimum width and height

This commit is contained in:
Swapnil Tripathi 2021-06-03 15:13:38 +05:30
parent 5dc33049de
commit 2145c58333
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ Kirigami.ApplicationWindow {
id: root id: root
title: "Kasts" title: "Kasts"
minimumWidth: Kirigami.Settings.isMobile ? 320 : 620
minimumHeight: 480
property var miniplayerSize: Kirigami.Units.gridUnit * 3 + Kirigami.Units.gridUnit / 6 property var miniplayerSize: Kirigami.Units.gridUnit * 3 + Kirigami.Units.gridUnit / 6
property int tabBarHeight: Kirigami.Units.gridUnit * 2 property int tabBarHeight: Kirigami.Units.gridUnit * 2
property int bottomMessageSpacing: Kirigami.Settings.isMobile ? Kirigami.Units.largeSpacing * 9 + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + tabBarActive * tabBarHeight : Kirigami.Units.largeSpacing * 2 property int bottomMessageSpacing: Kirigami.Settings.isMobile ? Kirigami.Units.largeSpacing * 9 + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 ) + tabBarActive * tabBarHeight : Kirigami.Units.largeSpacing * 2