X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Builder3%2FWindow.js;h=c6e49a1a473641ea9ee0a909a825b420a21574eb;hb=86f9df29a938daf5aa42356a936e65f8a6b8c673;hp=e6981d44aa975da95b4ab3c8fb796c0ccffdbbd2;hpb=f0858d77ab005efdf2d7ee0845485d9a3ff176aa;p=app.Builder.js diff --git a/Builder3/Window.js b/Builder3/Window.js index e6981d44a..c6e49a1a4 100644 --- a/Builder3/Window.js +++ b/Builder3/Window.js @@ -2801,8 +2801,11 @@ Window=new XObject({ ] }, { - xtype: Gtk.HBox, + xtype: Gtk.HPaned, pack : "add", + id : 'CenterEast' + position : 500, + items : [ { xtype: Gtk.VPaned, @@ -3900,17 +3903,23 @@ Window=new XObject({ }, { xtype: Gtk.VBox, - pack : "pack_start,false,false", + pack : "add", id : "RightPalete", hide : function() { 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(); },