You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/06/11 05:13:09 UTC
[2/3] git commit: [flex-asjs] [refs/heads/develop] - force label to
be single-line
force label to be single-line
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f9ddca52
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f9ddca52
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f9ddca52
Branch: refs/heads/develop
Commit: f9ddca525496c8baf35d0350fdd75186d2fb4bb7
Parents: 8a8fc6e
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jun 10 13:26:32 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Jun 10 13:26:32 2016 -0700
----------------------------------------------------------------------
.../projects/HTML/src/main/flex/org/apache/flex/html/Label.as | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f9ddca52/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Label.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Label.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Label.as
index 392dcca..2512a31 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Label.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/Label.as
@@ -156,6 +156,7 @@ package org.apache.flex.html
element = document.createElement('span') as WrappedHTMLElement;
positioner = element;
element.flexjs_wrapper = this;
+ element.style.whiteSpace = "nowrap";
return element;
}