From dd747df9bb485dbe1aac9249f4330a4e82f09c65 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 20 May 2015 16:50:38 +0800 Subject: [PATCH] src/Builder4/MainWindow.bjs src/Builder4/MainWindow.vala --- src/Builder4/MainWindow.bjs | 3 ++- src/Builder4/MainWindow.vala | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Builder4/MainWindow.bjs b/src/Builder4/MainWindow.bjs index b5a2393ef..2b2026cb5 100644 --- a/src/Builder4/MainWindow.bjs +++ b/src/Builder4/MainWindow.bjs @@ -121,9 +121,10 @@ "items" : [ { "id" : "leftpane", - "xtype" : "VBox", + "xtype" : "Box", "* pack" : "add1", "$ xns" : "Gtk", + "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL", "items" : [ { "id" : "editpane", diff --git a/src/Builder4/MainWindow.vala b/src/Builder4/MainWindow.vala index ce6ee14aa..72973f6ed 100644 --- a/src/Builder4/MainWindow.vala +++ b/src/Builder4/MainWindow.vala @@ -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) -- 2.39.2