flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [1/8] git commit: [flex-sdk] [refs/heads/develop] - Changed FlatSpark property to maintain proportions' name to 'fixedAspectRatio'
Date Sat, 20 Dec 2014 18:48:05 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/develop d65e7060f -> 7ace30106


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/433a3777
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/433a3777
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/433a3777

Branch: refs/heads/develop
Commit: 433a3777f6a1d86847276702ec4e62e4624677e7
Parents: d65e706
Author: Mahmoud Ali <akamud@apache.org>
Authored: Fri Dec 19 07:03:34 2014 -0300
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Sat Dec 20 19:44:19 2014 +0100

----------------------------------------------------------------------
 .../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/433a3777/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 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/433a3777/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 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)
 					{


Mime
View raw message