Mercurial > fife-parpg
changeset 590:59c92d10d7bc
- added label to colortester
author | chewie@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 13 Aug 2010 16:42:09 +0000 |
parents | d1df6cf5ff23 |
children | 378b588216d6 |
files | demos/pychan_demo/colortester.py demos/pychan_demo/gui/colortester.xml |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/demos/pychan_demo/colortester.py Fri Aug 13 16:33:36 2010 +0000 +++ b/demos/pychan_demo/colortester.py Fri Aug 13 16:42:09 2010 +0000 @@ -84,6 +84,7 @@ self.widget.findChild(name="example6").base_color = rgba self.widget.findChild(name="example7").base_color = rgba self.widget.findChild(name="example8").base_color = rgba + self.widget.findChild(name="example9").base_color = rgba def update_background_color(self): """ @@ -111,3 +112,4 @@ self.widget.findChild(name="example6").background_color = rgba self.widget.findChild(name="example7").background_color = rgba self.widget.findChild(name="example8").background_color = rgba + self.widget.findChild(name="example9").background_color = rgba
--- a/demos/pychan_demo/gui/colortester.xml Fri Aug 13 16:33:36 2010 +0000 +++ b/demos/pychan_demo/gui/colortester.xml Fri Aug 13 16:42:09 2010 +0000 @@ -12,6 +12,7 @@ </ScrollArea> <TextBox text="TextBox" name="example7" /> <TextField text="TextField" name="example8" /> + <Label text="Label" name="example9" /> </VBox> <Spacer /> <VBox name="Slider_wrapper">