Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:29:07 +0000 (17:29 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:29:07 +0000 (17:29 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index 71d5f4b..efb6d4a 100644 (file)
                         },
                         {
                             "gint position" : 300,
-                            "* pack" : "add",
                             "xtype" : "HPaned",
+                            "* pack" : "add",
                             "$ xns" : "Gtk",
                             "items" : [
                                 {
+                                    "* init" : "{  \nthis.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n\n}\n",
                                     "xtype" : "ScrolledWindow",
                                     "$ xns" : "Gtk",
                                     "items" : [
@@ -90,8 +91,8 @@
                                 },
                                 {
                                     "xtype" : "VBox",
-                                    "gboolean homogeneous" : false,
                                     "string id" : "set_vbox",
+                                    "gboolean homogeneous" : false,
                                     "$ xns" : "Gtk",
                                     "items" : [
                                         {
index eb90b60..e18146c 100644 (file)
@@ -312,7 +312,13 @@ public class ValaProjectSettings : Object
             // set gobject values
             var child_0 = new Xcls_set_tree( _this );
             child_0.ref();
-        }
+
+            // init method 
+
+            {  
+            this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
+            
+            }        }
 
         // user defined functions 
     }