responsive size fixes

This commit is contained in:
Dan Ballard 2020-12-01 17:13:07 -08:00
parent d9cc60c21f
commit 6207752cea
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.4
import QtQuick.Controls.Material 2.0 import QtQuick.Controls.Material 2.0
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import QtQuick.Controls 1.4 import QtQuick.Controls 1.4
import "theme"
GridLayout { GridLayout {
@ -10,7 +11,7 @@ GridLayout {
// have children ... control weather to stack or row them // have children ... control weather to stack or row them
// n * minWidth determin // n * minWidth determin
property int minCellWidth: 500 property int minCellWidth: Theme.sidePaneMinSize * gcd.themeScale
onWidthChanged: resizeCheck() onWidthChanged: resizeCheck()

View File

@ -106,7 +106,7 @@ Item {
readonly property int contactPortraitSize: 75 readonly property int contactPortraitSize: 75
readonly property int sidePaneMinSize: 700 readonly property int sidePaneMinSize: 700
readonly property int doublePaneMinSize: 1000 readonly property int doublePaneMinSize: 1400
property ThemeType dark: CwtchDark{} property ThemeType dark: CwtchDark{}
property ThemeType light: CwtchLight{} property ThemeType light: CwtchLight{}