make layout in same style as other examples
diff --git a/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExExample.mxml b/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExExample.mxml
index 53ab6f6..d6aea3a 100644
--- a/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExExample.mxml
@@ -27,10 +27,10 @@
<s:Panel title="Spell Check" width="100%" height="100%">
<s:layout>
- <s:VerticalLayout paddingLeft="20" paddingTop="20" gap="10" />
+ <s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>
<s:Group width="100%" height="100%">
- <s:TextArea id="ta_en" width="50%" height="50%" fontSize="20"
+ <s:TextArea id="ta_en" width="50%" height="50%"
text="I know Enlish. Use the context menu to see the suggestions of the missbelled word."
creationComplete="SpellUI.enableSpelling(ta_en, 'en_US')"/>
</s:Group>
diff --git a/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExample.mxml b/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExample.mxml
index 62684aa..13e1985 100644
--- a/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExample.mxml
@@ -19,7 +19,8 @@
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:s="library://ns.adobe.com/flex/spark"
- layout="vertical">
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
<mx:Script>
<![CDATA[
import com.adobe.linguistics.spelling.SpellUI;
@@ -35,10 +36,10 @@
</mx:Script>
<s:Panel title="Spell Check" width="100%" height="100%">
<s:layout>
- <s:VerticalLayout paddingLeft="20" paddingTop="20" gap="10" />
+ <s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/>
</s:layout>
<s:VGroup width="100%" height="100%">
- <mx:TextArea id="textArea" width="50%" height="50%" fontSize="20" text="Spell cheecking in TextArea"/>
+ <mx:TextArea id="textArea" width="50%" height="50%" text="Spell cheecking in TextArea"/>
<mx:Button id="tt2" label="Check British English" click="enableGB()" />
<mx:Button id="tt3" label="Check American English" click="enableUS()" />
</s:VGroup>