src/Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 10:38:03 +0000 (18:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 10:38:03 +0000 (18:38 +0800)
src/Builder4/ValaProjectSettings.vala

src/Builder4/ValaProjectSettings.bjs
src/Builder4/ValaProjectSettings.vala

index ffc1810..feba208 100644 (file)
         {
          "id" : "set_vbox",
          "* pack" : "add2",
-         "xtype" : "VBox",
+         "xtype" : "Box",
          "gboolean homogeneous" : false,
          "$ xns" : "Gtk",
          "# Project.GtkValaSettings cgroup" : "null",
+         "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
          "items" : [
           {
            "xtype" : "Label",
index b165e9f..82502e3 100644 (file)
@@ -1300,7 +1300,7 @@ public class ValaProjectSettings : Object
 
     public class Xcls_set_vbox : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private ValaProjectSettings  _this;
 
 
@@ -1312,12 +1312,13 @@ public class ValaProjectSettings : Object
         {
             _this = _owner;
             _this.set_vbox = this;
-            this.el = new Gtk.VBox( false, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
             this.cgroup = null;
 
             // set gobject values
+            this.el.homogeneous = false;
             var child_0 = new Xcls_Label37( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,false,0 );