PDA

View Full Version : Form inside a TabPanel



Urkman
8 Sep 2010, 1:41 AM
Hello,

I have a formPanel inside a tabPanel and this formPanel is not rendered correct.
The buttons of the form are not visible after render, but when I resize the browser, the buttons appear...

I already tried a doLayout() and a syncSize() on the formPanel, but nothing helps.

Perhaps somebody can give me a hint on this...

Thanks and greetings,
Urkman

Condor
8 Sep 2010, 1:43 AM
Did you configure the tabpanel with layoutOnTabChange:true?

laurentParis
8 Sep 2010, 1:52 AM
you must call doLayout with container of your FormPanel !

Urkman
8 Sep 2010, 2:08 AM
Hello,

thanks for your answers :-)

The tabPanel is configured with "layoutOnTabChange:true".

I found a solution:
I need to do a doLayout() on the container of the TabPanel...

This worked :-)

Greetings,
Urkman