Hello Chris, Thank you again for your answer.
Can't check right now, but it may be that ZoomToBB is getting called before > the size event can be propagated down, do the size it uses is not right. > Ok maybe. If you can do the test another day, it would be interesting to know if it's only on my platform (Win 7) or if it is similar on another plaftorm (the test is easy to do with the .py file you provided to me). > If this is the case, then calling it from wx.CallAfter() should fix it: > It works with this, thanks ! Last question : In ZoomToBB(), is it possible to define the default "margin" (it zooms on all the widgets + there is a small margin around of 10 pixels approximatively) ? Jo
_______________________________________________ FloatCanvas mailing list [email protected] http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
