Hello,
I have a tab panel with my tabs and I'd like to popup a window once the user click on a particular tab button.
What i do is to create a new window and then show it.
Code:
var win = Ext.create(Myapp.view.MyWindow);
win.show();
Above is the code i call. I have two different behaviour. If a button inside the screen is executing such code, the window is created in the right position: in the center.
If the code is called on a "activate" event of a tab, the window is created far under the page.
what could i do to show the window in the center once "show" is called?