flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [31/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix NS on JS
Date Mon, 26 Jun 2017 16:56:06 GMT
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/master
Commit: 287caa38593fd69eb75331f6251fe33b76cc9a6c
Parents: 78f3ec5
Author: Alex Harui <aharui@apache.org>
Authored: Thu Jun 8 10:20:17 2017 -0700
Committer: Alex Harui <aharui@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
 			{


Mime
View raw message