Repository: flex-asjs
Updated Branches:
  refs/heads/release0.8.0 f81ae0bf1 -> 287caa385


fix NS on JS


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/287caa38
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/287caa38
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/287caa38

Branch: refs/heads/release0.8.0
Commit: 287caa38593fd69eb75331f6251fe33b76cc9a6c
Parents: 78f3ec5
Author: Alex Harui <aha...@apache.org>
Authored: Thu Jun 8 10:20:17 2017 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Thu Jun 8 10:20:57 2017 -0700

----------------------------------------------------------------------
 .../main/flex/org/apache/flex/html/beads/NumericStepperView.as    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/287caa38/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/NumericStepperView.as
----------------------------------------------------------------------
diff --git 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/NumericStepperView.as
 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/NumericStepperView.as
index 9d08d56..e86ad81 100644
--- 
a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/NumericStepperView.as
+++ 
b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/NumericStepperView.as
@@ -152,7 +152,8 @@ package org.apache.flex.html.beads
                        
                        input.x = 0;
                        input.y = 0;
-                       input.width = UIBase(_strand).width-spinner.width-2;
+                       if (!UIBase(_strand).isWidthSizedToContent())
+                               input.width = 
UIBase(_strand).width-spinner.width-2;
                        
                        COMPILE::SWF
                        {

Reply via email to