make layout in same style as other examples

Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/0955925c
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/0955925c
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/0955925c

Branch: refs/heads/master
Commit: 0955925cc380873ffad04645f37d0b25764cd63c
Parents: 7ba008b
Author: Justin Mclean <jmcl...@apache.org>
Authored: Mon Oct 27 17:18:38 2014 +1100
Committer: Justin Mclean <jmcl...@apache.org>
Committed: Mon Oct 27 17:18:38 2014 +1100

----------------------------------------------------------------------
 .../TourDeFlex3/src/apache/squiggly/SpellingExExample.mxml    | 4 ++--
 .../TourDeFlex3/src/apache/squiggly/SpellingExample.mxml      | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/0955925c/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExExample.mxml
----------------------------------------------------------------------
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>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/0955925c/TourDeFlex/TourDeFlex3/src/apache/squiggly/SpellingExample.mxml
----------------------------------------------------------------------
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 @@ limitations under the License.
 -->
 <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 @@ limitations under the License.
 </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>

Reply via email to