{
  "$schema": "http://www.lavishsoft.com/schema/lgui2Package.json",
  "elements": [
    {
      "type": "window",
      "title": "Test",
      "name": "mr.test.window",

      "hideOnClose": false,
      "minSize": {
        "width": 650,
        "height": 350
      },
      "maxSize": {
        "width": 950,
        "height": 650
      },

      "eventHandlers": {
        "onCloseButtonClick": ["method", "TestController", "OnClose"]
      },
      "content": {
        "type": "stackpanel",
        "orientation": "horizontal",
        "children": [
          {
            "type": "stackpanel",
            "orientation": "vertical",
            "margin": [0, 0, 15, 0],
            "children": [
              {
                "type": "textblock",
                "text": "Test Window",
                "margin": [0, 0, 0, 15]
              },
              {
                "type": "button",
                "content": "Click me",
                "margin": [0, 0, 0, 15]
              },
              {
                "type": "combobox",
                "minSize": {
                  "width": 100
                },
                "items": ["Item 1", "Item 2", "Item 3"],
                "margin": [0, 0, 0, 15]
              }
            ]
          },
          {
            "type": "stackpanel",
            "orientation": "vertical",
            "children": [
              {
                "type": "listbox",
                "minSize": {
                  "width": 100
                },
                "items": [
                  "Item 1111111111111111111111111111111111111111111111111111111111111111111111111111111",
                  "Item 2",
                  "Item 3"
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}
