FLEX-34485 make example consistent
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/a90f9654 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/a90f9654 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/a90f9654 Branch: refs/heads/develop Commit: a90f9654d3aec49d80f704e79bf59f93b7b8b060 Parents: 8e31c9f Author: Justin Mclean <jmcl...@apache.org> Authored: Sat Oct 18 18:18:25 2014 +1100 Committer: Justin Mclean <jmcl...@apache.org> Committed: Sat Oct 18 18:18:25 2014 +1100 ---------------------------------------------------------------------- .../src/apache/validators/PostCodeValidatorExample.mxml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a90f9654/TourDeFlex/TourDeFlex3/src/apache/validators/PostCodeValidatorExample.mxml ---------------------------------------------------------------------- diff --git a/TourDeFlex/TourDeFlex3/src/apache/validators/PostCodeValidatorExample.mxml b/TourDeFlex/TourDeFlex3/src/apache/validators/PostCodeValidatorExample.mxml index 261e7f8..0dcb868 100644 --- a/TourDeFlex/TourDeFlex3/src/apache/validators/PostCodeValidatorExample.mxml +++ b/TourDeFlex/TourDeFlex3/src/apache/validators/PostCodeValidatorExample.mxml @@ -62,14 +62,14 @@ <fx:Declarations> <a:PostCodeValidator id="validator" source="{postcode}" property="text" trigger="{checkPostcode}" triggerEvent="click" - invalid="Alert.show('Postcode incorrect format!', 'Postcode');"/> + invalid="Alert.show('Postcode incorrect format!', 'Postcode')"/> </fx:Declarations> - <s:Panel title="Postcode Validator Example" width="600" height="100%" color="0x000000" borderAlpha="0.15"> + <s:Panel title="Postcode Validator Example" width="100%" height="100%"> <s:layout> - <s:VerticalLayout paddingLeft="20" paddingTop="20" gap="10" /> - </s:layout> + <s:VerticalLayout paddingLeft="10" paddingRight="10" paddingTop="10" paddingBottom="10"/> + </s:layout> <s:HGroup verticalAlign="middle"> <s:Label text="Postcode" /> <s:TextInput id="postcode" text=""/>