Am 2010-10-17 um 14:52 schrieb Ed Leafe:

> On Oct 16, 2010, at 7:55 AM, Henning Hraban Ramm wrote:
>
>>> In addition to the
>>> dBitmapButton demo not working correctly, the label explaining the
>>> behavior doesn't
>>> wordwrap on Windows or Mac, so there are multiple issues to address.
>>
>> I just found out that/how dLabel fails on OSX with multi line  
>> captions:
>> - no error/exception, but stopping afterInit
>> - regardless how I construct the m.l. caption (with \n, \r or just
>> m.l. docstring)
>> - it works fine if I set its caption afterwards, e.g. in an event
>> handler (it works even with the label's Paint event)
>
>
>       I've tested out your theory (at least on OS X), and it seems to be  
> correct. I've committed a change that implements delayed caption  
> setting for objects with WordWrap=True; it's only been tested on OS  
> X. If others can test on Linux and Windows, that would be great.


I didn't use WordWrap=True but a multiline string (i.e. containing  
line feeds).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to