#----------------------------------------------------------------------
-# Name: wxPython.lib.GridSizer
+# Name: wxPython.lib.grids
# Purpose: An example sizer derived from the C++ wxPySizer that
# sizes items in a fixed or flexible grid.
#
#----------------------------------------------------------------------
"""
-
-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.
-
"""
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):