resources/RooUsage.txt
[app.Builder.js] / src / Builder4 / EditProject.bjs
index 95a8f11..b55233e 100644 (file)
@@ -9,7 +9,7 @@
  "items" : [
   {
    "listeners" : {
-    "destroy_event" : " (self, event) => {\n  this.el.response(0);\n//     this.el.hide();\n    return false;\n}"
+    "destroy_event" : "(self, event) => {\n\tthis.el.response(0);\n//     this.el.hide();\n    return false;\n}"
    },
    "default_width" : 600,
    "$ deletable" : true,
    "name" : "EditProject",
    "items" : [
     {
+     "bool expand" : true,
+     "xtype" : "Box",
      "$ pack" : " get_content_area().add \n \n",
-     "xtype" : "VBox",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "$ homogeneous" : false,
      "items" : [
       {
@@ -37,8 +39,8 @@
        "items" : [
         {
          "label" : "Project type :",
-         "* pack" : "pack_start,false,true,3",
          "xtype" : "Label",
+         "* pack" : "pack_start,false,true,3",
          "$ xns" : "Gtk"
         },
         {
          "items" : [
           {
            "id" : "cellrender",
-           "xtype" : "CellRendererText",
            "* pack" : "pack_start,true",
+           "xtype" : "CellRendererText",
            "$ xns" : "Gtk"
           },
           {
            "id" : "model",
-           "* pack" : "set_model",
            "xtype" : "ListStore",
+           "* pack" : "set_model",
            "$ columns" : "typeof(string),typeof(string)",
            "n_columns" : 2,
            "$ xns" : "Gtk",
@@ -72,6 +74,7 @@
        "$ create_folders" : false,
        "id" : "dir",
        "$ action" : "Gtk.FileChooserAction.SELECT_FOLDER",
+       "bool expand" : true,
        "* pack" : "pack_end,true,true,5",
        "xtype" : "FileChooserWidget",
        "$ xns" : "Gtk",
     },
     {
      "label" : "OK",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,1",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     },
     {
      "label" : "Cancel",
-     "* pack" : "add_action_widget,0",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,0",
      "$ xns" : "Gtk"
     }
    ]