Mercurial > fife-parpg
view demos/pychan_demo/gui/scrollarea.xml @ 546:8fee2d2286e9
Rewrote the object serializing routines to use a "template" idea for loading an object from disk. This allows for multiple objects to load the same base object template but be unique on the scene AND have different values. Useful for say more than one gold stack on the ground with different gold values. TODO: fix the "spawn" console command.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 03 Jun 2010 21:35:06 +0000 |
parents | 64738befdf3b |
children |
line wrap: on
line source
<Window title="ScrollArea"> <Label text="A bullet list in a ScrollArea" /> <ScrollArea min_size="200,100"> <VBox> <HBox name="hbox1"> <Button text="*"/><Spacer/><Label text="1. Documentation"/> </HBox> <HBox name="hbox2"> <Button text="*"/><Spacer/><Label text="2. Documentation"/> </HBox> <HBox name="hbox3"> <Button text="*"/><Spacer/><Label text="3. Documentation"/> </HBox> <HBox name="hbox4"> <VBox> <HBox name="hbox3_1"> <Button text="*"/><Spacer/><Label text="3.1. Documentation"/> </HBox> <HBox name="hbox3_2"> <Button text="*"/><Spacer/><Label text="3.2. Documentation"/> </HBox> <HBox name="hbox3_3"> <Button text="*"/><Spacer/><Label text="3.3. Documentation"/> </HBox> </VBox> </HBox> <HBox name="hbox5"> <Button text="*"/><Spacer/><Label text="1. Documentation"/> </HBox> </VBox> </ScrollArea> <HBox> <Spacer /> <Button name="okButton" text="Close"/> </HBox> </Window>