When i click on the button straight after the application
loaded nothing happen (just a tiny strange blink) the chatView does
not resize. However if i grab the DividedBar and move it by little
then clic on the button the collapsing pane works as expected.
It seems as if the container could not resize himself untill
i touched his parent ...
DispatchEvent(new DividerEvent("dividerReleased", true)); in
my cutom panel collapsing call but it did no help.
A dirty hack working is adding this line to the init of my
vd.getDividerAt(0).y = vd.getDividerAt(0).y + 1;
where vd is the dividedBox id.
I am sure there is a real solution to this problem.