@@ -51,9 +51,10 @@ Rectangle {
5151 widgetsModel.append({"type": "text", "widgetId": "text4", "properties": { "text": longText }});
5252 }
5353
54− PreviewExpandable {
54+ PreviewWidgetFactory {
5555 id: previewExpandable
5656 anchors { left: parent.left; right: parent.right }
57+ widgetType: "expandable"
5758 widgetData: root.widgetData
5859 }
5960
@@ -77,6 +78,7 @@ Rectangle {
7778 }
7879
7980 function init() {
81+ checkInitialState();
8082 }
8183
8284 function test_collapsed_by_default() {