on xenial help sign in
fix the splash screen sizing
commit19581a6db3adeb8c8181d8efae0a6b2de49cceca authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 12 Jul 2016, 12:16 (10 years ago) parentea69283
1 file changed+7−2
qml/Stages/ApplicationWindow.qml+7−2
qml/Stages/ApplicationWindow.qml+7−2
@@ -20,8 +20,8 @@ import Unity.Application 0.1
2020
2121FocusScope {
2222 id: root
23− implicitWidth: surfaceContainer.implicitWidth
24− implicitHeight: surfaceContainer.implicitHeight
23+ implicitWidth: requestedWidth
24+ implicitHeight: requestedHeight
2525
2626 // to be read from outside
2727 property alias interactive: surfaceContainer.interactive
@@ -270,6 +270,11 @@ FocusScope {
270270 (d.liveSurface ||
271271 (d.applicationState !== ApplicationInfoInterface.Running
272272 && screenshotImage.status !== Image.Ready))
273+ PropertyChanges {
274+ target: root
275+ implicitWidth: surfaceContainer.implicitWidth
276+ implicitHeight: surfaceContainer.implicitHeight
277+ }
273278 },
274279 State {
275280 name: "screenshot"