You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2017/06/18 12:36:32 UTC

[21/50] [abbrv] git commit: [flex-asjs] [refs/heads/tlf] - fix NS on JS

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/tlf
Commit: 287caa38593fd69eb75331f6251fe33b76cc9a6c
Parents: 78f3ec5
Author: Alex Harui <ah...@apache.org>
Authored: Thu Jun 8 10:20:17 2017 -0700
Committer: Alex Harui <ah...@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
 			{