I have a Form panel that contains a form with fields.
Now when I click the button, I open the window and then add the form as an element in the window, like this
win = new Ext.Window({ title: 'Add', layout: 'fit', autoScroll: true, y: 120, width: 600, height: 600, modal: true, closeAction: 'hide', items: [formpanel] }); win.show();
Now it shows two windows: one shows the title bar of the main Add window and the border, and then another frame of the form with the title and borders.
Is there a way for windows to only conatiate the shape of the title bar and border, but not the title bar of the window and border and background
This is similar to displaying only the formPanle as a popup, not the formpanel inside the window
user191542
source share