the problem is not in the wrapping, apparently but in the way the string
comes in from XRC. There are newlines instead of whitespaces in the
instantiated object.
BTW: both on Ubuntu and Windows XP
see below:
c.GetLabel()
u'Buddies\nare\npeople\nin\nyour\naddressbook\nthat\nyou\nwant\nto\nshare\npresence\ninformation\nwith.'
with this in the XRC
<label>Buddies are people in your addressbook that you want to share
presence information with.</label>
what is going wrong here?
Paul
Paul Sijben wrote:
···
since I upgraded to wxpython 2.8.8 my statictexts no longer use up the
full space the statictext gets, rather it crowds some 50 pixels and
wraps to the next line.it happens in my code and in xrced.
What changed and how do I get the text to (again) use the full width?
Paul
--
Paul Sijben tel: +31334566488
Eemvalley Technology BV fax: +31334557523
the Netherlands http://eemvalley.com
-----------------------------------------------------
EemValley Technology werft python & wxpython
programmeurs: http://www.eemvalley.nl/jobs