On Sunday 21 March 2010 07:20:24 pm Ed Leafe wrote:
> On Mar 20, 2010, at 11:10 PM, FraserB wrote:
> > I love this new document...
>
>       Thanks!
>
> > One little puzzle for me is in this little piece of simple code that Ed
> > included.
> > Everything works as I would expect provided I leave out the
> > ForeColor="blue".
> > If I insert that attribute, no text displays. I have also tried other
> > colors.
> > If I change it to BackColor="blue" the text shows but there is no blue
> > anywhere apart from the title bar.
> > I'm running under Ubuntu 8.10
>
>       Hmm... I know that Gtk doesn't display BackColor for labels, since it 
> just
> draws the text rather than create an object, but I've never heard of the
> ForeColor attribute causing problems.
>
>       Can anyone else with a Linux system verify this problem?
>
>
> -- Ed Leafe

This works for me.  

vs.append(dabo.ui.dLabel(self, Caption = 'Hello red', ForeColor = 'red'))

openSUSE 11.0, python 2.5, wxPython 2.8.10

Johnf


_______________________________________________
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