flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [3/3] git commit: [flex-sdk] [refs/heads/iso7skins] - ios7+ specific skin for TabbedViewNavigator
Date Fri, 31 Oct 2014 20:24:25 GMT
ios7+ specific skin for TabbedViewNavigator


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/b224b4ac
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/b224b4ac
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/b224b4ac

Branch: refs/heads/iso7skins
Commit: b224b4ac378fea70346299262e421259591d8e36
Parents: ab5b573
Author: OmPrakash Muppirala <bigosmallm@gmail.com>
Authored: Fri Oct 31 13:22:20 2014 -0700
Committer: OmPrakash Muppirala <bigosmallm@gmail.com>
Committed: Fri Oct 31 13:22:20 2014 -0700

----------------------------------------------------------------------
 .../src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as      | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b224b4ac/frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
b/frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
index 1cf62b7..fe7a7ac 100644
--- a/frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
+++ b/frameworks/projects/mobiletheme/src/spark/skins/ios7/TabbedViewNavigatorTabBarSkin.as
@@ -25,9 +25,7 @@ import spark.skins.mobile.supportClasses.ButtonBarButtonClassFactory;
 import spark.skins.mobile.supportClasses.TabbedViewNavigatorTabBarHorizontalLayout;
 
 /**
- *  The Android 4.x specific skin class for the Spark TabbedViewNavigator tabBar skin part.
- *  It uses the ButtonBarFirstButtonSkin and ButtonBarMiddleButtonSkin as skins for first
- *  middle buttons
+ *  The iOS7+ specific skin class for the Spark TabbedViewNavigator tabBar skin part.
  *  
  *  @see spark.components.TabbedViewNavigator#tabBar
  *  
@@ -78,7 +76,7 @@ public class TabbedViewNavigatorTabBarSkin extends ButtonBarSkin
         if (!lastButton)
         {
             lastButton = new ButtonBarButtonClassFactory(ButtonBarButton);
-            lastButton.skinClass = spark.skins.ios7.ButtonBarFirstButtonSkin;
+            lastButton.skinClass = spark.skins.ios7.ButtonBarLastButtonSkin;
         }
         
         if (!middleButton)


Mime
View raw message