PortraitRow switch from anchors for width (bad) to Layout.fillWidth (good) #9

Merged
erinn merged 1 commits from prlayout into master 2020-07-16 19:38:43 +00:00
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