on xenial help sign in
Update tst_SurfaceContainer.qml
8b79bc2Daniel d'Andrada
tests/qmltests/Stage/tst_SurfaceContainer.qml+4
@@ -41,6 +41,8 @@ Rectangle {
41 SurfaceContainer {
41 SurfaceContainer {
42 anchors.fill: parent
42 anchors.fill: parent
43 focus: true
43 focus: true
44+ requestedWidth: width
45+ requestedHeight: height
44 interactive: interactiveCheckbox.checked
46 interactive: interactiveCheckbox.checked
45 isPromptSurface: promptCheckbox.checked
47 isPromptSurface: promptCheckbox.checked
46 Component.onDestruction: {
48 Component.onDestruction: {
@@ -49,6 +51,8 @@ Rectangle {
49 }
51 }
50 }
52 }
51
53
54+ SurfaceManager {}
55+
52 Loader {
56 Loader {
53 id: surfaceContainerLoader
57 id: surfaceContainerLoader
54 focus: true
58 focus: true