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

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

index 465e42d..95a8f11 100644 (file)
      "$ homogeneous" : false,
      "items" : [
       {
-       "xtype" : "HBox",
+       "xtype" : "Box",
        "* pack" : "pack_start,false,true,3",
        "$ xns" : "Gtk",
+       "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
        "$ homogeneous" : false,
        "items" : [
         {
index 084c338..679d51b 100644 (file)
@@ -126,7 +126,7 @@ public class EditProject : Object
             // my vars (dec)
 
             // set gobject values
-            var child_0 = new Xcls_HBox3( _this );
+            var child_0 = new Xcls_Box3( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,true,3 );
             var child_1 = new Xcls_dir( _this );
@@ -136,23 +136,24 @@ public class EditProject : Object
 
         // user defined functions
     }
-    public class Xcls_HBox3 : Object
+    public class Xcls_Box3 : Object
     {
-        public Gtk.HBox el;
+        public Gtk.Box el;
         private EditProject  _this;
 
 
             // my vars (def)
 
         // ctor
-        public Xcls_HBox3(EditProject _owner )
+        public Xcls_Box3(EditProject _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HBox( false, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
 
             // my vars (dec)
 
             // set gobject values
+            this.el.homogeneous = false;
             var child_0 = new Xcls_Label4( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el , false,true,3 );