View Full Version : Is it possible to add sub-view "outside" or layout?

29 Oct 2009, 12:04 PM
I have a FormPanel, I want to add small button (like tool button) in the right top corner of the panel.

The only solution I was able to come up with, is to wrap FormPanel with another Panel with "absolute" layout and add the button as a child to that panel. It sort of works, but by wrapping FormPanel I lost auto-resize behavior (FormPanel originally was placed inside center region of border layout).

Is there are better way of doing it?

You help will be highly appreciated


29 Oct 2009, 1:03 PM
I saw the light!!!

In form of Ext.DomHelper.append(). Works great!

Sorry to bother.