view demos/pychan_demo/gui/absolute.xml @ 403:ba2d683ccee3

Use list() instead of slice. Python did not like to use the slice on an empty C++ vector.
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 29 Jan 2010 11:04:06 +0000
parents 64738befdf3b
children
line wrap: on
line source

<Container position="100,100" size="400,200" 
	   base_color="255,0,0"
	   background_image="gui/backgrounds/stripe.png"
	   border_size="2">
	<Label text="Absolute values work._" font="samanata_large" position="20,20" foreground_color="128,0,0" />
	<ClickLabel text="__ Baseline ok?" font="samanata_large" position="220,20" max_size="500,20" foreground_color="128,0,0" />
	<Label text="It's tiresome, though." position="20,50" base_color="255,0,0" />
	<Icon image="gui/backgrounds/stripe.png"  position="100,100" />
	<Button name="closeButton" text="Ok" position="160,150" base_color="255,0,0" />
</Container>