comparison clients/pychan_demo/pychan_test.py @ 159:c305c5eda7ed

Fix for scrollarea bug.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 14 Oct 2008 08:30:20 +0000
parents bb9902910067
children fbc55c6f57cf
comparison
equal deleted inserted replaced
158:63de2dea08e6 159:c305c5eda7ed
59 from dynamic import DynamicExample 59 from dynamic import DynamicExample
60 from styling import StylingExample 60 from styling import StylingExample
61 61
62 self.examples = { 62 self.examples = {
63 'Absolute Positioning' : PyChanExample('gui/absolute.xml'), 63 'Absolute Positioning' : PyChanExample('gui/absolute.xml'),
64 'All Widgets' : PyChanExample('gui/all_widgets.xml'),
64 'Basic Styling' : StylingExample(), 65 'Basic Styling' : StylingExample(),
65 'All Widgets' : PyChanExample('gui/all_widgets.xml'),
66 'Dynamic Widgets' : DynamicExample(), 66 'Dynamic Widgets' : DynamicExample(),
67 'ScrollArea' : PyChanExample('gui/scrollarea.xml'),
67 } 68 }
68 self.demoList = self.gui.findChild(name='demoList') 69 self.demoList = self.gui.findChild(name='demoList')
69 self.demoList.items += self.examples.keys() 70 self.demoList.items += self.examples.keys()
70 self.gui.show() 71 self.gui.show()
71 72