If I don't specify width and height values for a TitleWindow
, it will be resized to fit it's contents when I show it using PopUpManager
.
But there are moments when some components inside will be resized, like a ComboBox
which dataProvider
is loaded asynchronously, or another component which was not visible and I'd like to set it's includeInLayout
to true
.
In those moments, I'd like to tell the TitleWindow to resize itself to fit window contents. I've tried calling invalidateSize()
and invalidateDisplayList()
with no success.
Is there a way to do this?