X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/694759cfeb701f8b96d720e72f760cc21e2e6b00..6932a32c2b1072879a7be05dae5308f79fe4bd80:/utils/wxPython/lib/grids.py diff --git a/utils/wxPython/lib/grids.py b/utils/wxPython/lib/grids.py index 061dc95075..2b26ec9ece 100644 --- a/utils/wxPython/lib/grids.py +++ b/utils/wxPython/lib/grids.py @@ -12,13 +12,11 @@ #---------------------------------------------------------------------- """ - -In this module you will find wxGridSizer and wxFlexgridSizer. +In this module you will find wxGridSizer and wxFlexGridSizer. wxGridSizer arrainges its items in a grid in which all the widths and heights are the same. wxFlexgridSizer allows different widths and heights, and you can also specify rows and/or columns that are growable. See the demo for a couple examples for how to use them. - """ @@ -226,6 +224,9 @@ class wxFlexGridSizer(wxGridSizer): for idx in self.growableCols: self.colWidths[idx] = self.colWidths[idx] + delta + # bottom right corner + sz = wxSize(pt.x + sz.width, pt.y + sz.height) + # Layout each cell x = pt.x for c in range(ncols):