Skip to content
Permalink
Browse files
Added auto-select for Mobile Alert iOS Button Skin
git-svn-id: https://svn.apache.org/repos/asf/incubator/flex/whiteboard@1302055 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Nicholas Kwiatkowski committed Mar 18, 2012
1 parent b19b8bb commit 16e2ec27257ed492ba2507f00b7f9dae690badbb
Showing 1 changed file with 2 additions and 0 deletions.
@@ -33,6 +33,7 @@ package org.apache.spark.components
import org.apache.spark.components.skins.AndroidAlertSkin;
import org.apache.spark.components.skins.AndroidButtonSkin;
import org.apache.spark.components.skins.AppleOSAlertSkin;
import org.apache.spark.components.skins.AppleOSButtonSkin;
import org.apache.spark.components.supportClasses.SkinnablePopUpComponent;

import spark.components.Button;
@@ -278,6 +279,7 @@ package org.apache.spark.components
{
// we are on an iOS device
forcedSkin = AppleOSAlertSkin;
mobileAlert.buttonStyle = AppleOSButtonSkin;

}
else

0 comments on commit 16e2ec2

Please sign in to comment.