src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 08:50:38 +0000 (16:50 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 May 2015 08:50:38 +0000 (16:50 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index b5a2393..2b2026c 100644 (file)
        "items" : [
         {
          "id" : "leftpane",
-         "xtype" : "VBox",
+         "xtype" : "Box",
          "* pack" : "add1",
          "$ xns" : "Gtk",
+         "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL",
          "items" : [
           {
            "id" : "editpane",
index ce6ee14..72973f6 100644 (file)
@@ -450,7 +450,7 @@ public class Xcls_MainWindow : Object
     }
     public class Xcls_leftpane : Object
     {
-        public Gtk.VBox el;
+        public Gtk.Box el;
         private Xcls_MainWindow  _this;
 
 
@@ -461,7 +461,7 @@ public class Xcls_MainWindow : Object
         {
             _this = _owner;
             _this.leftpane = this;
-            this.el = new Gtk.VBox( true, 0 );
+            this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
 
             // my vars (dec)