diff clients/pychan_demo/gui/demoapp.xml @ 255:51cc05d862f2

Merged editor_rewrite branch to trunk. This contains changes that may break compatibility against existing clients. For a list of changes that may affect your client, see: http://wiki.fifengine.de/Changes_to_pychan_and_FIFE_in_editor_rewrite_branch
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 08 Jun 2009 16:00:02 +0000
parents 756b895e1dab
children
line wrap: on
line diff
--- a/clients/pychan_demo/gui/demoapp.xml	Wed Jun 03 19:29:52 2009 +0000
+++ b/clients/pychan_demo/gui/demoapp.xml	Mon Jun 08 16:00:02 2009 +0000
@@ -1,30 +1,22 @@
-<Window title="This is the PyChan demo application. "><!--[PyChanのてすとです: ÜÖÄ]"-->
-	<HBox>
-		<Slider size="100,15" name="slider" orientation="0" scale_start="0.1" scale_end="1.5" base_color="93,161,102" />
-		<Label name="slider_desc" text="Move the slider!" />
-		<TextBox name="slider_value" text="0" base_color="0,0,0,0"/>
-	</HBox>
-	<VBox>
-		<HBox>
-			<ScrollArea size="200,500">
-				<ListBox name="demoList" min_size="100,100" />
+<VBox hexpand="1"><!--[PyChanのてすとです: ÜÖÄ]"-->
+	<Label text="This is the PyChan demo application. "/>
+	<HBox vexpand="1">
+		<ScrollArea>
+			<ListBox name="demoList"/>
+		</ScrollArea>
+		<VBox margins="0,0" hexpand="2">
+			<Label text=" Select one example from the listbox."/>
+			<Label text=" You can also execute this script with an Gui XML file as argument."/>
+-			<HBox margins="0,0">
+				<Button text="XML code"/>
+			</HBox>
+			<ScrollArea>
+				<TextBox name="xmlSource" font="FreeMono" filename="gui/all_widgets.xml"/>
 			</ScrollArea>
-			<VBox margins="0,0">
-				<Label text=" Select one example from the listbox and press 'Start Example'"/>
-				<Label text=" You can also execute this script with an Gui XML file as argument."/>
-				<HBox margins="0,0">
-					<Button text="XML code"/>
-				</HBox>
-				<ScrollArea size="600,200">
-					<TextBox name="xmlSource" filename="gui/all_widgets.xml"/>
-				</ScrollArea>
-				<Spacer />
-			</VBox>
-		</HBox>
-		<HBox>
-			<ClickLabel name="creditsLink" text="Credits"/>
-			<Spacer />
-			<Button name="closeButton" text="Quit Demo"/>
-		</HBox>
-	</VBox>
-</Window>
+		</VBox>
+	</HBox>
+	<HBox>
+		<ClickLabel name="creditsLink" text="Credits"/>
+		<Button name="closeButton" text="Quit Demo"/>
+	</HBox>
+</VBox>