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

src/Builder4/WindowLeftProps.bjs
src/Builder4/WindowLeftProps.vala

index d3d6fc4..7b31d67 100644 (file)
@@ -33,8 +33,9 @@
    "items" : [
     {
      "* pack" : "pack_start,false,true,0",
-     "xtype" : "HBox",
+     "xtype" : "Box",
      "$ xns" : "Gtk",
+     "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
      "items" : [
       {
        "listeners" : {
index 4076a6e..533bdf2 100644 (file)
@@ -44,7 +44,7 @@ public class Xcls_LeftProps : Object
         this.main_window = null;
 
         // set gobject values
-        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,true,0 );
         var child_1 = new Xcls_EditProps( _this );
@@ -541,19 +541,19 @@ public class Xcls_LeftProps : Object
                  6,  this.keySortFormat(key)
             ); 
     }
-    public class Xcls_HBox2 : Object 
+    public class Xcls_Box2 : Object 
     {
-        public Gtk.HBox el;
+        public Gtk.Box el;
         private Xcls_LeftProps  _this;
 
 
             // my vars (def)
 
         // ctor 
-        public Xcls_HBox2(Xcls_LeftProps _owner )
+        public Xcls_Box2(Xcls_LeftProps _owner )
         {
             _this = _owner;
-            this.el = new Gtk.HBox( true, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
 
             // my vars (dec)