On 10/17/10 6:21 AM, Ed Leafe wrote:
> On Oct 17, 2010, at 6:10 AM, Fraser Burns wrote:
>
>> I tried your simple code example, but couldn't get it to display the
>> text on the form until I changed it to afterInitAll()
>> It seemed so straightforward that I couldn't understand why we might
>> have a timing issue at this level. Is it a typical situation with
>> slightly older hardware or something?
>
>
>       Hardware speed should have no effect on what is displayed; only on how 
> quickly it is refreshed.
>
>       What platform/version are you using? I know that there are some issues 
> with labels not being painted correctly in Gtk when they are created on 
> objects that are not yet visible, so your issue might be related to that.

My theory is that the automatic sizer hasn't done its layout() yet so the label 
isn't 
visible on the form. You could test this by resizing the form.

Paul

_______________________________________________
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