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

src/Builder4/EditProject.bjs
src/Builder4/EditProject.vala

index 95a8f11..fc655fa 100644 (file)
@@ -24,8 +24,9 @@
    "items" : [
     {
      "$ pack" : " get_content_area().add \n \n",
-     "xtype" : "VBox",
+     "xtype" : "Box",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
      "$ homogeneous" : false,
      "items" : [
       {
index 679d51b..029c26c 100644 (file)
@@ -35,7 +35,7 @@ public class EditProject : Object
         this.el.default_width = 600;
         this.el.deletable = true;
         this.el.modal = true;
-        var child_0 = new Xcls_VBox2( _this );
+        var child_0 = new Xcls_Box2( _this );
         child_0.ref();
         this.el.get_content_area().add (  child_0.el  );
         var child_1 = new Xcls_Button9( _this );
@@ -109,23 +109,24 @@ public class EditProject : Object
         
         //this.success = c.success;
     }
-    public class Xcls_VBox2 : Object
+    public class Xcls_Box2 : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private EditProject  _this;
 
 
             // my vars (def)
 
         // ctor
-        public Xcls_VBox2(EditProject _owner )
+        public Xcls_Box2(EditProject _owner )
         {
             _this = _owner;
-            this.el = new Gtk.VBox( false, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
+            this.el.homogeneous = false;
             var child_0 = new Xcls_Box3( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,true,3 );