You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Rami Tarabay <rt...@codefish.com> on 2014/02/21 11:42:02 UTC

Action Bar

Hey,

I am using flex SDK4.11 with adobe air 4.0 and flash player 12.
I just found the below code in ActionBarSkin Class:
Please find my comment in red.

public function ActionBarSkin()
{
   super();

   switch (applicationDPI)
    {
           case DPIClassification.DPI_480:
 {
// Note provisional may need changes
borderSize = 2;
 layoutShadowHeight = 9;
layoutContentGroupHeight = 130;
layoutTitleGroupHorizontalPadding = 40;
  borderClass = spark.skins.mobile240.assets.ActionBarBackground ( IS THIS
A                                 CORRECT PATH TO SET
THE borderClass VARIABLE ?
                 IT SHOULD
BE spark.skins.mobile480.assets.ActionBarBackground,SHOULN'T IT ? )
 break;
 }
          etc.....
}

Finally what about setting the DPIClassification.DPI_640 for ActionBarSkin
class ?

-- 

Kind Regards,


 Rami Tarabay



Mobile App Developer | Codefish Apps | www.codefish.com

t +961 5 450824 | m +961 70 170857

Re: Action Bar

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Finally what about setting the DPIClassification.DPI_640 for ActionBarSkin
> class ?
And I've just checked in  a fix for that - thanks for reporting them.

Justin

Re: Action Bar

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

This has been fixed in 4.12.

Thanks,
Justin