TextCtrl widths
Mark Erbaugh
mark at microenh.com
Fri Nov 2 22:03:56 PDT 2007
Is there an easy way to set the width of a TextCtrl to be wide enough
for a certain number of characters rather than pixels. What I've been
doing is setting the width by trial and error or eyeballing it. However,
I imagine that if the user has a different font or screen resolution,
the TextCtrl may be too small or too large.
I know I could use a Masked control, but I want to do this with a plain
TextCtrl.
Mark
More information about the wxpython-users
mailing list