Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
Right now, the only way to change the label of a ToggleSwitch from On/Off to something else is to reskin. I feel that it is common to see ToggleSwitches that have Yes/No labels. It seems odd that I have to reskin to get this functionality.
This was discovered as part of the i3 workflow
Desired results:
Add new properties to ToggleSwitch that allow me to change the labels
Workaround (if any):
Apply a custom skin to the component:
package skins
{
import spark.skins.mobile.ToggleSwitchSkin;
public class YesNoToggleSwitchSkin extends ToggleSwitchSkin
{
public function YesNoToggleSwitchSkin()
}
}