From 86f9df29a938daf5aa42356a936e65f8a6b8c673 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 25 Apr 2011 12:01:59 +0800 Subject: [PATCH] Builder3/Window.js --- Builder3/Window.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Builder3/Window.js b/Builder3/Window.js index bd4c9d9ab..c6e49a1a4 100644 --- a/Builder3/Window.js +++ b/Builder3/Window.js @@ -2803,6 +2803,7 @@ Window=new XObject({ { xtype: Gtk.HPaned, pack : "add", + id : 'CenterEast' position : 500, items : [ @@ -3908,11 +3909,17 @@ Window=new XObject({ this.get('buttonbar').el.show(); this.get('viewbox').el.hide(); - print("TRIED TO HIDE"); + var ce = this.get('/CenterEast').el; + ce.setPostion(ce.max_position - 30); + + print("TRIED TO HIDE"); }, show : function() { this.get('buttonbar').el.hide(); this.get('viewbox').el.show(); + var ce = this.get('/CenterEast').el; + ce.setPostion(ce.max_position - 100); + // this.get('model').expanded(); }, -- 2.39.2