> i have a FlexGridSizer with 2 columns and 2 rows.
> there is a StaticText inside the FlexGridSizer...
> on some points of my program i have to change the label of the StaticText...
> after i doing this i recalculate the size:
> $size = StaticText->GetSize;
> FlexGridSizer->SetItemMinSize(id, $size->GetWidth, $size->GetHeight);
> then i do a:
> now my sizer has changed to the correct size, but sometimes a part of the
> StaticText label isn't visible (just a part of it), it comes out if i resize
> the window or if i minimize and maximize it.
> has someone an idea why this happens?
> is there a better way to relayout a sizer after changing the content?
No; I can't reproduce this there; if you could send a (small) snippet
of code demonstrating the problem, I will have a look at it
> ps: windows && wxPerl 0.07 (but think shouldn't bee a problem)
No it isn't, but it is always a good thing to know OS/version