src/Builder4/DialogPluginWebkit.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 08:30:45 +0000 (16:30 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 08:30:45 +0000 (16:30 +0800)
src/Builder4/DialogPluginWebkit.vala

src/Builder4/DialogPluginWebkit.bjs

index 951f582..d92c9ea 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",
@@ -31,8 +31,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"
     }
    ]