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 2015/08/07 19:12:02 UTC

[06/15] git commit: [flex-asjs] [refs/heads/develop] - fix visuals for TextInputs

fix visuals for TextInputs


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

Branch: refs/heads/develop
Commit: 0321f57d0d07f49caef9a742504c2517af004138
Parents: 5a78da4
Author: Alex Harui <ah...@apache.org>
Authored: Thu Aug 6 22:56:22 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Aug 7 10:00:58 2015 -0700

----------------------------------------------------------------------
 .../HTML/as/src/org/apache/flex/html/beads/TextInputView.as        | 2 ++
 .../as/src/org/apache/flex/html/beads/TextInputWithBorderView.as   | 1 +
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0321f57d/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputView.as
index c02bea1..7c3ee2f 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputView.as
@@ -68,6 +68,8 @@ package org.apache.flex.html.beads
 		{
 			super.strand = value;
 			
+            autoWidth = autoHeight = false;
+
             var w:Number;
             var h:Number;
             var uiMetrics:UIMetrics;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0321f57d/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputWithBorderView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputWithBorderView.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputWithBorderView.as
index 566a78a..2806660 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputWithBorderView.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/beads/TextInputWithBorderView.as
@@ -48,6 +48,7 @@ package org.apache.flex.html.beads
 		public function TextInputWithBorderView()
 		{
 			super();
+            textField.parentDrawsBackground = true;
 		}
 		
         /**