<?xml version="1.0" encoding="utf-8"?>
<pyamf:Shell xmlns:fx="http://ns.adobe.com/mxml/2009" 
			 xmlns:s="library://ns.adobe.com/flex/spark" 
			 xmlns:mx="library://ns.adobe.com/flex/mx"
			 xmlns:pyamf="org.pyamf.examples.shell.*"
		     width="100%" height="100%">
	
	<pyamf:layout>
		<s:VerticalLayout horizontalAlign="center" paddingBottom="20"
						  paddingTop="20" paddingLeft="20" paddingRight="20"
						  verticalAlign="middle"/>
	</pyamf:layout>
	
	<fx:Style source="../assets/main.css"/>
	
	<s:Label text="Interactive Python shell" width="100%"
			  styleName="title"/>
	<s:TextArea width="100%" height="100%" editable="false"
				id="shell_txt" styleName="prompt" focusAlpha="0"/>
	<s:TextArea width="100%" height="100" styleName="prompt"
				 id="input_txt" focusAlpha="0"/>
	
	<s:Group height="5"/>
	
	<s:HGroup verticalAlign="middle" width="100%">
		<s:Label text="Ctrl-Up/Down for history  | "/>
		<s:ComboBox id="submitMethod" />
		<s:Label text="submits"/>
		<s:Group width="100%"/>
		<s:Button label="Clear" click="clear()"/>
		<s:Button label="Submit" click="evalCode();inputKeyUpHandler();"/>
	</s:HGroup>
		
</pyamf:Shell>
