responsive size fixes
This commit is contained in:
parent
d9cc60c21f
commit
6207752cea
|
@ -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()
|
||||||
|
|
|
@ -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{}
|
||||||
|
|
Loading…
Reference in New Issue