Merge pull request 'PortraitRow switch from anchors for width (bad) to Layout.fillWidth (good)' (#9) from prlayout into master

Reviewed-on: #9
This commit is contained in:
erinn 2020-07-16 12:38:42 -07:00
commit 0505934172
1 changed files with 3 additions and 5 deletions

View File

@ -11,12 +11,10 @@ import "../opaque/fonts"
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
Item { // LOTS OF NESTING TO DEAL WITH QT WEIRDNESS, SORRY
Item {
id: crItem
anchors.left: parent.left
anchors.right: parent.right
height: 78 * logscale + 3
implicitHeight: 78 * logscale + 3 //height
implicitHeight: 78 * logscale + 3
height: implicitHeight
property real logscale: 4 * Math.log10(gcd.themeScale + 1)
property string displayName