Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Other (specify version)
Language Found: English
Description
Currently, it's not possible to use the iOS-styled buttons (with with appropriate padding) without supplying (1) styleName="ios" and (2) paddingLeft/paddingRight values to the HorizontalLayouts of actionLayout and navigationLayout in ActionBar in MXML or ActionScript.
If paddings were available as styles in ActionBar (to inset all actionGroup, titleGroup and navigationGroup together), then an iOS-styled application would be possible through CSS only:
@media (application-dpi: 240) and (os-platform: "IOS")
{
s|ActionBar
s|ActionBar #backButton
{ fontSize: 18; skinClass: ClassReference("spark.skins.mobile.NavigationBackButtonSkin"); }}