src/Builder4/Editor.bjs
[app.Builder.js] / src / Builder4 / Editor.bjs
index ea2eb5c..b792e4d 100644 (file)
    "# string ptype" : "\"\"",
    "# string key" : "\"\"",
    "* pack" : "add",
-   "xtype" : "VBox",
+   "xtype" : "Box",
    "|   void show" : "(JsRender.JsRender file, JsRender.Node node, string ptype, string key)\n{\n    this.ptype = ptype;\n    this.key  = key;\n    this.node = node;\n    this.file = file;\n    \n   string val = \"\";\n    // find the text for the node..\n    if (ptype == \"listener\") {\n        val = node.listeners.get(key);\n    \n    } else {\n        val = node.props.get(key);\n    }\n    this.view.load(val);\n    this.key_edit.el.text = key;    \n\n}",
    "# JsRender.JsRender file" : "null",
    "# bool pos" : false,
    "string id" : "Editor",
    "# bool dirty" : false,
    "$ xns" : "Gtk",
+   "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
    "@ void save" : "()",
    "$ homogeneous" : false,
    "# JsRender.Node node" : "null",
    "items" : [
     {
      "* pack" : "pack_start,false,true",
-     "xtype" : "HBox",
+     "xtype" : "Box",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
      "$ homogeneous" : false,
      "items" : [
       {