@@ -30,12 +30,16 @@ Rectangle {
30 property string longText2: "This is a very very very long text. 1 This is a very very very long text. 2 This is a very very very long text. 3 This is a very very very long text. 4 This is a very very very long text. 5 This is a very very very long text. 6 This is a very very very long text. 7 This is a very very very long text. 8 This is a very very very long text. 9 This is a very very very long text. 10 This is a very very very long text. 11 This is a very very very long text."
30 property string longText2: "This is a very very very long text. 1 This is a very very very long text. 2 This is a very very very long text. 3 This is a very very very long text. 4 This is a very very very long text. 5 This is a very very very long text. 6 This is a very very very long text. 7 This is a very very very long text. 8 This is a very very very long text. 9 This is a very very very long text. 10 This is a very very very long text. 11 This is a very very very long text."
31 property string shortText: "This is a short text :)"
31 property string shortText: "This is a short text :)"
33+ property var tableData: {
34+ "values": [ [ "Long Label 1", "Value 1"], [ "Label 2", "Long Value 2"], [ "Label 3", "Value 3"], [ "Label 4", "Value 4"], [ "Label 5", "Value 5"] ]
33 property var widgetData: {
37 property var widgetData: {
34 "title": "Title here",
38 "title": "Title here",
35 "collapsed-widgets": 2,
39 "collapsed-widgets": 2,
36 "widgets": [
40 "widgets": [
37 { "type": "text", "widgetId" : "text1", "properties" : { "text": longText } },
41 { "type": "text", "widgetId" : "text1", "properties" : { "text": longText } },
38− { "type": "text", "widgetId" : "text2", "properties" : { "text": longText2 } },
42+ { "type": "table", "widgetId" : "table1", "properties" : tableData },
39 { "type": "text", "widgetId" : "text3", "properties" : { "text": shortText } },
43 { "type": "text", "widgetId" : "text3", "properties" : { "text": shortText } },
40 { "type": "text", "widgetId" : "text4", "properties" : { "text": longText } }
44 { "type": "text", "widgetId" : "text4", "properties" : { "text": longText } }