src/Builder4/DialogPluginWebkit.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 09:02:14 +0000 (17:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 09:02:14 +0000 (17:02 +0800)
src/Builder4/DialogPluginWebkit.vala

src/Builder4/DialogPluginWebkit.bjs

index 641f54a..c14d74f 100644 (file)
@@ -11,8 +11,8 @@
     "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n    //test  \n}\n "
    },
    "string tmpjs" : "",
-   "utf8 title" : "Add / Edit Component",
    "id" : "DialogPluginWebkit",
+   "utf8 title" : "Add / Edit Component",
    "gint default_height" : 500,
    "gboolean deletable" : true,
    "xtype" : "Dialog",
@@ -30,8 +30,8 @@
      "items" : [
       {
        "* init" : "  this.el.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n \n",
-       "xtype" : "ScrolledWindow",
        "* pack" : "pack_start,false,true,3",
+       "xtype" : "ScrolledWindow",
        "gboolean expand" : true,
        "$ xns" : "Gtk",
        "items" : [
     },
     {
      "label" : "Reload",
-     "* pack" : "add_action_widget,3",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,3",
      "$ xns" : "Gtk"
     },
     {
      "label" : "Cancel",
-     "xtype" : "Button",
      "* pack" : "add_action_widget,0",
+     "xtype" : "Button",
      "$ xns" : "Gtk"
     },
     {
      "label" : "OK",
-     "* pack" : "add_action_widget,1",
      "xtype" : "Button",
+     "* pack" : "add_action_widget,1",
      "$ xns" : "Gtk"
     }
    ]