I love this new document...

One little puzzle for me is in this little piece of simple code.
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

import dabo
dabo.ui.loadUI("wx")

class HelloPyConForm(dabo.ui.dForm):
    def afterInit(self):
        self.Caption = "Hello PyCon Form"
        self.lblHello = dabo.ui.dLabel(self, 
                Caption="Hello PyCon", FontSize=24, 
                ForeColor="blue")

app = dabo.dApp()
app.MainFormClass = HelloPyConForm
app.start()
-- 
View this message in context: 
http://old.nabble.com/Pycon-2010-Tutorial-Doc-tp27973199p27973199.html
Sent from the dabo-users mailing list archive at Nabble.com.

_______________________________________________
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