[wxPython-users] text wrapping in wx.StaticText
Robin Dunn
robin at alldunn.com
Tue Aug 1 10:28:10 PDT 2006
justin mcguire wrote:
> i had thought of the same, but the issue of measuring the text is that
> the text is picked up dynamically from a database and there would be no
> way to make sure that the text would fit before picking it up, i have
> multiple users entering things and it would be nearly impossible to
> regulate what they are entering.
You can measure text at runtime. See wx.DC.GetTextExtent.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list