[wxPython-users] Autowrap in wxGrid
Robin Dunn
robin at alldunn.com
Thu Jul 27 12:53:15 PDT 2006
Yuan HOng wrote:
> Is it possible that the content of a grid cell automatically wraps
> around on a new line if the grid cell is not wide enough to hold the
> value? Now the text simply flows over to the next cell on the right.
>
> I read about similar request dated 2001 and wonders if such feature is
> already present in wx.Grid since then.
>
You can use the wx.grid.GridCellAutoWrapStringRenderer to change how the
cells are rendered.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list