var plugin = require('topsin.gengui');

var gui = plugin.newGui();
var item_list = [{name:213, text:123}]
r = gui.showForm({
    title: "form example",
    ui: {
        type: 'ScrollArea',
        property: { widget_resizable: true, frame_shape: 'NoFrame', align: 'Top' },
        child: {
            type: 'VBoxLayout',
            property: { margin: 2, spacing: 20, align: 'Top' },
            pack: { stretch: 0 },
            child: [
                {
                    name: 'attrs.iscross',
                    type: 'ComboBox',
                    property: {
                        enabled: true,
                        item_list: item_list
                    },
                    pack: { label: ('Is Cross') }
                },
            ]
        }
    },
    data: {},
    runnow: true,
    includehide: false,
    gen: null
});

console.log(r);