on xenial help sign in
don't scale the EARLY ALPHA warning text bigger than the screen is.

Approved by Albert Astals Cid, PS Jenkins bot.

commitc1bcd80cbb3237fc8ccf39f7e490ba680adf6978 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 13 Aug 2013, 08:44 (13 years ago) parentce4c5995bdeaf8
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}