fix HRule
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f021dcf4 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f021dcf4 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f021dcf4 Branch: refs/heads/develop Commit: f021dcf4dfe04b5af2fd171ea2d40b017e7d4ed3 Parents: 0321f57 Author: Alex Harui <aha...@apache.org> Authored: Thu Aug 6 23:27:21 2015 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Fri Aug 7 10:00:59 2015 -0700 ---------------------------------------------------------------------- frameworks/projects/HTML/as/defaults.css | 5 +++++ .../HTML/as/src/org/apache/flex/html/beads/HRuleView.as | 1 + frameworks/projects/HTML/basic-manifest.xml | 1 + 3 files changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f021dcf4/frameworks/projects/HTML/as/defaults.css ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/as/defaults.css b/frameworks/projects/HTML/as/defaults.css index 34e4277..578fa5e 100644 --- a/frameworks/projects/HTML/as/defaults.css +++ b/frameworks/projects/HTML/as/defaults.css @@ -362,6 +362,11 @@ DropDownListList background-color: #FFFFFF; } +HRule +{ + IBeadView: ClassReference("org.apache.flex.html.beads.HRuleView"); +} + Image { IBeadModel: ClassReference("org.apache.flex.html.beads.models.ImageModel"); http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f021dcf4/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/HRuleView.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/HRuleView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/HRuleView.as index 706f096..3c7e092 100644 --- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/HRuleView.as +++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/HRuleView.as @@ -67,6 +67,7 @@ package org.apache.flex.html.beads IEventDispatcher(_strand).addEventListener("widthChanged",handleSizeChange); IEventDispatcher(_strand).addEventListener("heightChanged",handleSizeChange); + IEventDispatcher(_strand).addEventListener("sizeChanged",handleSizeChange); handleSizeChange(null); } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f021dcf4/frameworks/projects/HTML/basic-manifest.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/basic-manifest.xml b/frameworks/projects/HTML/basic-manifest.xml index fbf95c8..fa2cb4b 100644 --- a/frameworks/projects/HTML/basic-manifest.xml +++ b/frameworks/projects/HTML/basic-manifest.xml @@ -73,6 +73,7 @@ <component id="PasswordInputBead" class="org.apache.flex.html.accessories.PasswordInputBead" /> <component id="TextPromptBead" class="org.apache.flex.html.accessories.TextPromptBead" /> <component id="HRule" class="org.apache.flex.html.HRule" /> + <component id="HRuleView" class="org.apache.flex.html.beads.HRuleView" /> <component id="Spacer" class="org.apache.flex.html.Spacer" /> <component id="ImageAndTextButtonView" class="org.apache.flex.html.beads.ImageAndTextButtonView" /> <component id="ScrollingViewport" class="org.apache.flex.html.supportClasses.ScrollingViewport" />