From: Alan Knowles Date: Mon, 25 Apr 2011 04:01:59 +0000 (+0800) Subject: Builder3/Window.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=86f9df29a938daf5aa42356a936e65f8a6b8c673 Builder3/Window.js --- 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(); },