You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2017/05/17 16:01:41 UTC

git commit: [flex-asjs] [refs/heads/release0.8.0] - Replace "M" with down arrow for DateField and match text input's height to that of the button.

Repository: flex-asjs
Updated Branches:
  refs/heads/release0.8.0 cd99bb665 -> 4a3117658


Replace "M" with down arrow for DateField and match text input's height to that of the button.


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

Branch: refs/heads/release0.8.0
Commit: 4a31176589cdb250739519aa03f9a89b43fa1f16
Parents: cd99bb6
Author: Peter Ent <pe...@apache.org>
Authored: Wed May 17 12:01:38 2017 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed May 17 12:01:38 2017 -0400

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/html/beads/DateFieldView.as     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4a311765/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
index 547c8d1..9fd1e90 100644
--- a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
+++ b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DateFieldView.as
@@ -108,7 +108,7 @@ package org.apache.flex.html.beads
 			_textInput.height = 18;
 			
 			_button = new TextButton();
-			_button.text = "M";
+			_button.text = "⬇︎";
 			UIBase(_strand).addElement(_button);
 			
 			COMPILE::SWF {
@@ -123,6 +123,7 @@ package org.apache.flex.html.beads
 		{
 			var formatter:IFormatBead = _strand.getBeadByType(IFormatBead) as IFormatBead;
 			formatter.addEventListener("formatChanged",handleFormatChanged);
+			_textInput.height = _button.height;
 		}
 		
 		private function handleFormatChanged(event:Event):void