PDA

View Full Version : FillToolItem does not render correct when used inside a container



gishmo
31 Dec 2011, 2:49 AM
Using the ToolBar inside a container which does not have the total width and contains a FillToolItem does not render correct. It seems that the FillToolItem uses the whole screen width when calculating the width.

This behavior is different than it was in GXT 2.2.5.

gishmo
8 Jan 2012, 1:18 PM
Update 1:
This happens only when the toolbar - containing the FillToolItem - is placed inside a TabPanel!

Update 2:
After switching to another tab and going back to the old tab, the toolbar gets resized and renders correct.

any ideas?

gishmo
13 Jan 2012, 12:36 AM
Forgot to call forceLayout();