src/Builder4/ProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:57:32 +0000 (17:57 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 18 May 2015 09:57:32 +0000 (17:57 +0800)
src/Builder4/ProjectSettings.vala

src/Builder4/ProjectSettings.bjs
src/Builder4/ProjectSettings.vala

index 4b61fe5..d363518 100644 (file)
@@ -20,7 +20,7 @@
    "items" : [
     {
      "* pack" : "pack_start,false,false,0",
-     "xtype" : "HBox",
+     "xtype" : "Box",
      "gboolean expand" : false,
      "$ xns" : "Gtk",
      "$ homogeneous" : true,
index 64fa4ee..1f74cc2 100644 (file)
@@ -38,7 +38,7 @@ public class Xcls_ProjectSettings : Object
 
         // set gobject values
         this.el.border_width = 5;
-        var child_0 = new Xcls_HBox2( _this );
+        var child_0 = new Xcls_Box2( _this );
         child_0.ref();
         this.el.pack_start (  child_0.el , false,false,0 );
         var child_1 = new Xcls_Notebook5( _this );
@@ -96,23 +96,24 @@ public class Xcls_ProjectSettings : Object
          
         
     }
-    public class Xcls_HBox2 : Object 
+    public class Xcls_Box2 : Object 
     {
-        public Gtk.HBox el;
+        public Gtk.Box el;
         private Xcls_ProjectSettings  _this;
 
 
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox2(Xcls_ProjectSettings _owner )
+        public Xcls_Box2(Xcls_ProjectSettings _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HBox( true, 0 );
+            this.el = new Gtk.Box( null, 0 );
 
             // my vars (dec)
 
             // set gobject values
+            this.el.homogeneous = true;
             this.el.expand = false;
             this.el.vexpand = false;
             var child_0 = new Xcls_Button3( _this );