Resize problem with Viewport->getMaximumVisibleHeight()

when i do something like this in the resize routine

mViewport->setBounds(450,24,getWidth()-450,getHeight()-24);
mComponent->setSize(mComponent->geWidth(),mViewport->getMaximumVisibleHeight());

sometimes i get wrong height values from the getMaximumVisible… functions, as if a scrollbar was shown (the content is jumping up and down :wink: ).
this only seems to happen on horizontal resize.

i’m on linux kde…

cheers,
comboy

Yes, the maximum height might be updated asynchronously after the scrollbars process their change messages…