Merge pull request 'responsive size fixes' (#32) from responsiveFix into master

Reviewed-on: #32
This commit is contained in:
erinn 2020-12-02 15:03:28 -08:00
commit 365eedbd90
3 changed files with 5 additions and 5 deletions

View File

@ -13,9 +13,8 @@ Item {
property alias badgeColor: badge.color
property int size: Theme.contactPortraitSize
property real logscale: 4 * Math.log10(gcd.themeScale + 1)
property int baseWidth: size * logscale
height: size * logscale
property int baseWidth: size * gcd.themeScale
height: size * gcd.themeScale
property alias portraitBorderColor: mainImage.color
property alias portraitColor: imageInner.color

View File

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

View File

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