changeset 357:2cdce58c1109

Fixes the scroll areas in the pychan demo. fixes[t:363]
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 25 Sep 2009 19:48:07 +0000
parents ab41334e8a57
children 8f64a9d1e7ab
files clients/pychan_demo/gui/all_widgets.xml clients/pychan_demo/gui/scrollarea.xml
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/clients/pychan_demo/gui/all_widgets.xml	Thu Sep 24 18:24:47 2009 +0000
+++ b/clients/pychan_demo/gui/all_widgets.xml	Fri Sep 25 19:48:07 2009 +0000
@@ -2,13 +2,13 @@
 	<HBox>
 		<VBox>
 			<Label text="ScrollArea with ListBox:"/>
-			<ScrollArea size="200,100">
+			<ScrollArea min_size="200,100">
 				<ListBox name="demoList" min_size="100,100" />
 			</ScrollArea>
 		</VBox>
 		<VBox>
 			<Label text="ScrollArea with TextBox:"/>
-			<ScrollArea size="200,100"  horizontal_scrollbar="0">
+			<ScrollArea min_size="200,100"  horizontal_scrollbar="0">
 				<TextBox name="demoText" min_size="100,100" />
 			</ScrollArea>
 		</VBox>
--- a/clients/pychan_demo/gui/scrollarea.xml	Thu Sep 24 18:24:47 2009 +0000
+++ b/clients/pychan_demo/gui/scrollarea.xml	Fri Sep 25 19:48:07 2009 +0000
@@ -1,6 +1,6 @@
 <Window title="ScrollArea">
 	<Label text="A bullet list in a ScrollArea" />
-	<ScrollArea size="400,200">
+	<ScrollArea min_size="200,100">
 		<VBox>
 			<HBox name="hbox1">
 				<Button text="*"/><Spacer/><Label text="1. Documentation"/>