Builder3/Window.js
[app.Builder.js] / Builder3 / Window.js
index e6981d4..0864d44 100644 (file)
@@ -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,25 @@ 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('/Window.centerEast').el;
+                                           
+                                           ce.set_postion(ce.get_allocated_width() - 30);
+                                             
+                                           print("TRIED TO HIDE");
                                     },
                                     show : function() {
                                         this.get('buttonbar').el.hide();
                                         this.get('viewbox').el.show();
+                                        var ce = this.get('/Window.centereast').el;
+                                        print(JSON.stringify(XObject.keys(ce) ,null,4));
+                                        ce.set_postion(ce.get_allocated_width() - 100);
+                                           
                                        // this.get('model').expanded();
                                                 
                                     },