on xenial help sign in
don't scale the EARLY ALPHA warnign text bigger than the screen is
commit5bdeaf86beb1e55ade4960bc2d533d489a55e68b authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 12 Aug 2013, 19:01 (13 years ago) parent0bfda68
1 file changed+2−2
Shell.qml+2−2
Shell.qml+2−2
@@ -663,7 +663,7 @@ FocusScope {
663663 }
664664
665665 Label {
666− anchors.fill: parent
666+ anchors.centerIn: parent
667667 visible: applicationManager.fake
668668 text: "EARLY ALPHA\nNOT READY FOR USE"
669669 color: "lightgrey"
@@ -672,7 +672,7 @@ FocusScope {
672672 horizontalAlignment: Text.AlignHCenter
673673 verticalAlignment: Text.AlignVCenter
674674 fontSizeMode: Text.Fit
675− font.pixelSize: height/2
676675 rotation: -45
676+ scale: Math.min(parent.width, parent.height) / width
677677 }
678678}