on xenial help sign in
fix the splash screen sizing
19581a6Michael Zanetti
qml/Stages/ApplicationWindow.qml+7−2
@@ -20,8 +20,8 @@ import Unity.Application 0.1
20
20
21FocusScope {
21FocusScope {
22 id: root
22 id: root
23− implicitWidth: surfaceContainer.implicitWidth
23+ implicitWidth: requestedWidth
24− implicitHeight: surfaceContainer.implicitHeight
24+ implicitHeight: requestedHeight
25
25
26 // to be read from outside
26 // to be read from outside
27 property alias interactive: surfaceContainer.interactive
27 property alias interactive: surfaceContainer.interactive
@@ -270,6 +270,11 @@ FocusScope {
270 (d.liveSurface ||
270 (d.liveSurface ||
271 (d.applicationState !== ApplicationInfoInterface.Running
271 (d.applicationState !== ApplicationInfoInterface.Running
272 && screenshotImage.status !== Image.Ready))
272 && screenshotImage.status !== Image.Ready))
273+ PropertyChanges {
274+ target: root
275+ implicitWidth: surfaceContainer.implicitWidth
276+ implicitHeight: surfaceContainer.implicitHeight
277+ }
273 },
278 },
274 State {
279 State {
275 name: "screenshot"
280 name: "screenshot"