PDA

View Full Version : [FIXED] [GXT Trunk/Hosted Mode] ContentPanel does not render completely after reuse



drehberger
9 Jun 2009, 7:57 AM
Hi,

I hit a bug when a ContentPanel is emptied with removeAll() and re-filled again. After that, the panel is not rendered completely anymore.

See attached sample code.
The screen shot displays the problematic behaviour.
When you comment out line 72 in the sample code, you will get the correct behaviour, which I attached in the other screen shot.

GXT version: current trunk (rev. 1516) - a few days ago, this problem did not appear.
Mode: Hosted mode
OS: Windows XP

sven
9 Jun 2009, 8:21 AM
I found the Issue but you should think about your app design. You are adding a Window to a Viewport with fitLayout. A Window is a floating component. You should directly add it to the RootPanel.

sven
9 Jun 2009, 4:25 PM
Fixed in SVN

drehberger
10 Jun 2009, 12:37 AM
Thanks