Repository: flex-sdk Updated Branches: refs/heads/release4.14.0 b25599d95 -> dc784d370
FlatSpark - Changed property name to 'fixedFontSize' to better describe its meaning Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/dc784d37 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/dc784d37 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/dc784d37 Branch: refs/heads/release4.14.0 Commit: dc784d3701db6da5504b0c5bb7267a916bb6fc9d Parents: b25599d Author: Mahmoud Ali <[email protected]> Authored: Sat Dec 20 08:33:10 2014 -0300 Committer: Mahmoud Ali <[email protected]> Committed: Sat Dec 20 08:50:00 2014 -0300 ---------------------------------------------------------------------- .../projects/flatspark/src/flatspark/components/ButtonIcon.as | 2 +- .../projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/dc784d37/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as b/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as index 14db46d..ad46678 100644 --- a/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as +++ b/frameworks/projects/flatspark/src/flatspark/components/ButtonIcon.as @@ -32,7 +32,7 @@ package flatspark.components public var brand:int = BrandColorEnum.Default; [Bindable] - public var fixedAspectRatio:Boolean = true; + public var fixedFontSize:Boolean = true; public function ButtonIcon() http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/dc784d37/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml ---------------------------------------------------------------------- diff --git a/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml b/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml index 995cb71..6965f79 100644 --- a/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml +++ b/frameworks/projects/flatspark/src/flatspark/skins/ButtonIconSkin.mxml @@ -90,7 +90,7 @@ limitations under the License. { var fontHeight:int = 14; - if (hostComponent.fixedAspectRatio) + if (hostComponent.fixedFontSize) { switch (hostComponent.height) { @@ -123,7 +123,7 @@ limitations under the License. { var iconHeight:int = 17; - if (hostComponent.fixedAspectRatio) + if (hostComponent.fixedFontSize) { switch (hostComponent.height) {
