X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e72ac08291dc20516333e784ff0f8bf6d16db38e..6d3c4b2aee2a64ba3245f2cec9751e4608a9bc3c:/docs/latex/wx/sizer.tex diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index 22d64fe7e7..c871edc5a9 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -25,6 +25,12 @@ or different window (dialog item) sizes on different platforms without problems. the standard font as well as the overall design of Motif widgets requires more space than on Windows, the initial dialog size will automatically be bigger on Motif than on Windows. +Sizers may also be used to control the layout of custom drawn items on the window. The +Add, Insert, and Prepend functions return a pointer to the newly added wxSizerItem. Just +add empty space of the desired size and attributes, and then use the wxSizerItem::GetRect +method to determine where the drawing operations should take place. + + \pythonnote{If you wish to create a sizer class in wxPython you should derive the class from {\tt wxPySizer} in order to get Python-aware capabilities for the various virtual methods.}