From: Marco T. <wx...@so...> - 2001-12-06 12:28:46
|
hello 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: FlexGridSizer->Layout 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? greetings soapy ps: windows && wxPerl 0.07 (but think shouldn't bee a problem) |