Fix for https://issues.apache.org/jira/browse/FLEX-34117 Changed the layoutCornerEllipseSize in ButtonSkin.as for various DPIs
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/df8428e7 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/df8428e7 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/df8428e7 Branch: refs/heads/release4.12.0 Commit: df8428e710f37a8d088b14dee8544cd96c0c73e6 Parents: ecca551 Author: Om <bigosma...@gmail.com> Authored: Wed Mar 12 16:20:43 2014 -0700 Committer: Om <bigosma...@gmail.com> Committed: Wed Mar 12 16:20:43 2014 -0700 ---------------------------------------------------------------------- .../mobiletheme/src/spark/skins/mobile/ButtonSkin.as | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/df8428e7/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as index 22a0f4f..a5aa3e8 100644 --- a/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as +++ b/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as @@ -111,7 +111,7 @@ public class ButtonSkin extends ButtonSkinBase downBorderSkin = spark.skins.mobile640.assets.Button_down; layoutGap = 20; - layoutCornerEllipseSize = 40; + layoutCornerEllipseSize = 28; layoutPaddingLeft = 40; layoutPaddingRight = 40; layoutPaddingTop = 40; @@ -129,7 +129,7 @@ public class ButtonSkin extends ButtonSkinBase downBorderSkin = spark.skins.mobile480.assets.Button_down; layoutGap = 14; - layoutCornerEllipseSize = 30; + layoutCornerEllipseSize = 20; layoutPaddingLeft = 30; layoutPaddingRight = 30; layoutPaddingTop = 30; @@ -146,7 +146,7 @@ public class ButtonSkin extends ButtonSkinBase downBorderSkin = spark.skins.mobile320.assets.Button_down; layoutGap = 10; - layoutCornerEllipseSize = 20; + layoutCornerEllipseSize = 10; layoutPaddingLeft = 20; layoutPaddingRight = 20; layoutPaddingTop = 20; @@ -163,7 +163,7 @@ public class ButtonSkin extends ButtonSkinBase downBorderSkin = spark.skins.mobile240.assets.Button_down; layoutGap = 7; - layoutCornerEllipseSize = 15; + layoutCornerEllipseSize = 8; layoutPaddingLeft = 15; layoutPaddingRight = 15; layoutPaddingTop = 15;