on xenial help sign in
don't scale the EARLY ALPHA warning text bigger than the screen is.
c1bcd80Michael Zanetti
Shell.qml+2−2
@@ -663,7 +663,7 @@ FocusScope {
663 }
663 }
664
664
665 Label {
665 Label {
666− anchors.fill: parent
666+ anchors.centerIn: parent
667 visible: applicationManager.fake
667 visible: applicationManager.fake
668 text: "EARLY ALPHA\nNOT READY FOR USE"
668 text: "EARLY ALPHA\nNOT READY FOR USE"
669 color: "lightgrey"
669 color: "lightgrey"
@@ -672,7 +672,7 @@ FocusScope {
672 horizontalAlignment: Text.AlignHCenter
672 horizontalAlignment: Text.AlignHCenter
673 verticalAlignment: Text.AlignVCenter
673 verticalAlignment: Text.AlignVCenter
674 fontSizeMode: Text.Fit
674 fontSizeMode: Text.Fit
675− font.pixelSize: height/2
676 rotation: -45
675 rotation: -45
676+ scale: Math.min(parent.width, parent.height) / width
677 }
677 }
678}
678}