PortraitRow switch from anchors for width (bad) to Layout.fillWidth (good) #9
|
@ -11,12 +11,10 @@ import "../opaque/fonts"
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
|
|
||||||
Item { // LOTS OF NESTING TO DEAL WITH QT WEIRDNESS, SORRY
|
Item {
|
||||||
id: crItem
|
id: crItem
|
||||||
anchors.left: parent.left
|
implicitHeight: 78 * logscale + 3
|
||||||
anchors.right: parent.right
|
height: implicitHeight
|
||||||
height: 78 * logscale + 3
|
|
||||||
implicitHeight: 78 * logscale + 3 //height
|
|
||||||
|
|
||||||
property real logscale: 4 * Math.log10(gcd.themeScale + 1)
|
property real logscale: 4 * Math.log10(gcd.themeScale + 1)
|
||||||
property string displayName
|
property string displayName
|
||||||
|
|
Loading…
Reference in New Issue