You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alex Harui <ah...@adobe.com> on 2014/12/19 17:48:02 UTC
Re: git commit: [flex-sdk] [refs/heads/release4.14.0] - Changed
FlatSpark property to maintain proportions' name to 'fixedAspectRatio'
You don’t have to make this change, but I just wanted to point out that
SWFLoader has a property called ‘maintainAspectRatio’. Is this roughly
the same thing?
-Alex
On 12/19/14, 2:04 AM, "akamud@apache.org" <ak...@apache.org> wrote:
>Repository: flex-sdk
>Updated Branches:
> refs/heads/release4.14.0 307b0d86d -> 58c17bc05
>
>
>Changed FlatSpark property to maintain proportions' name to
>'fixedAspectRatio'
>
>
>Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
>Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/58c17bc0
>Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/58c17bc0
>Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/58c17bc0
>
>Branch: refs/heads/release4.14.0
>Commit: 58c17bc052db9920a6451e343b038e685bc2d388
>Parents: 307b0d8
>Author: Mahmoud Ali <ak...@apache.org>
>Authored: Fri Dec 19 07:03:34 2014 -0300
>Committer: Mahmoud Ali <ak...@apache.org>
>Committed: Fri Dec 19 07:03:50 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/58c17bc0/frameworks/p
>rojects/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 e3f5620..14db46d 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 fixedHeight:Boolean = true;
>+ public var fixedAspectRatio:Boolean = true;
>
>
> public function ButtonIcon()
>
>http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/58c17bc0/frameworks/p
>rojects/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 c7f03fc..995cb71 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.fixedHeight)
>+ if (hostComponent.fixedAspectRatio)
> {
> switch (hostComponent.height)
> {
>@@ -123,7 +123,7 @@ limitations under the License.
> {
> var iconHeight:int = 17;
>
>- if (hostComponent.fixedHeight)
>+ if (hostComponent.fixedAspectRatio)
> {
> switch (hostComponent.height)
> {
>
Re: git commit: [flex-sdk] [refs/heads/release4.14.0] - Changed
FlatSpark property to maintain proportions' name to 'fixedAspectRatio'
Posted by Mahmoud Ali <mu...@gmail.com>.
It wasn't. Olaf also pointed this could cause some confusion, so I changed
it to "fixedFontSize", which describes way better.
Re: git commit: [flex-sdk] [refs/heads/release4.14.0] - Changed
FlatSpark property to maintain proportions' name to 'fixedAspectRatio'
Posted by Mahmoud Ali <mu...@gmail.com>.
It wasn't. Olaf also pointed this could cause some confusion, so I changed
it to "fixedFontSize", which describes way better.