flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [06/15] git commit: [flex-asjs] [refs/heads/develop] - fix visuals for TextInputs
Date Fri, 07 Aug 2015 17:12:02 GMT
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 <aharui@apache.org>
Authored: Thu Aug 6 22:56:22 2015 -0700
Committer: Alex Harui <aharui@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;
 		}
 		
         /**


Mime
View raw message