You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/06/20 14:34:27 UTC
git commit: [flex-sdk] [refs/heads/develop] - FLEX-24257 Added text
field padding so text scrolling doesn't occur.
Updated Branches:
refs/heads/develop a2cef9777 -> 974fcead3
FLEX-24257 Added text field padding so text scrolling doesn't occur.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/974fcead
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/974fcead
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/974fcead
Branch: refs/heads/develop
Commit: 974fcead3d92dd0d1f5cac871ab73611283b7bb3
Parents: a2cef97
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Jun 20 22:33:49 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Jun 20 22:33:49 2013 +1000
----------------------------------------------------------------------
frameworks/projects/mx/src/mx/controls/DateField.as | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/974fcead/frameworks/projects/mx/src/mx/controls/DateField.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/controls/DateField.as b/frameworks/projects/mx/src/mx/controls/DateField.as
index 128bacf..bc43d6b 100644
--- a/frameworks/projects/mx/src/mx/controls/DateField.as
+++ b/frameworks/projects/mx/src/mx/controls/DateField.as
@@ -2221,8 +2221,9 @@ public class DateField extends ComboBase
}
}
- measuredMinWidth = measuredWidth = maxWidth + 8 + 2 + buttonWidth;
- measuredMinWidth = measuredWidth += getStyle("paddingLeft") + getStyle("paddingRight");
+ measuredMinWidth = measuredWidth = maxWidth + 8 + buttonWidth +
+ + getStyle("paddingLeft") + getStyle("paddingRight")
+ + textInput.getStyle("paddingLeft") + textInput.getStyle("paddingRight");
measuredMinHeight = measuredHeight = textInput.getExplicitOrMeasuredHeight();
}