Are you embedding the font? Try embedding and see if that helps. It looks
like the date in the After.png is moved down but the text below it is
correct. The difference seems to be that the font is bold in one of them.
If you are already embedding the font make sure to embed the font with
fontWeight set to bold as well as normal.

This happened on an OSX El Capitan update. Some of the text in Flash
Builder had padding added to the top. Open FB > Preferences and you can see
things are misaligned. http://imgur.com/0h5A0qC


​
In OSX it was only doing this in the pop ups and context menus.

Why this is happening in AIR is odd though since FTE is supposed to align
the text flush against the top of the label. I would also try different
fonts as well.

On Tue, Apr 12, 2016 at 3:52 PM, Jonathan Christian <
jcisinthehous...@gmail.com> wrote:

> Of course, heres an .fxp
> https://drive.google.com/file/d/0B_eSe7BTr4gVS1B6SzM2RzBzRDA/view
>
> I ran it on android 4.4.1 with a Galaxy S3  and 6.0 on a Nexus 5
>
> Let me know if it works for you - the big focus of this stripped down
> example is on the ItemRenderer
>
> It looks like MarshMallow adds text padding of its own onto each Label.
>
>
> Apr 12, 2016; 1:43pm — by  OmPrakash Muppirala OmPrakash Muppirala
>
> Any chance you can provide a small code sample that reproduces this issue?
> I have both devices and I can see if I can reproduce this issue.
>
> Thanks,
> Om
>
> On Tue, Apr 12, 2016 at 11:38 AM, Jonathan Christian <
> [hidden email]> wrote:
>
> > All,
> >
> > I have been noticing a weird behavior that didn't exist on AIR Android
> > mobile apps prior to 6.0 (Marshmallow)
> >
> > The biggest difference is when using the top property on something such
> as
> > groups, labels, etc
> >
> >                     headingLabel.top  = 6;
> >
> >
> > I've included screenshots of what the app used to look like on the same
> > phone before upgrading to 6 and before I upgraded.
> >
> > <http://apache-flex-users.2333346.n4.nabble.com/file/n12439/Before.png>
> > <http://apache-flex-users.2333346.n4.nabble.com/file/n12439/After.jpg>
> >
> > Anyone else seeing weird behavior in Android 6.0 ?  I'm assuming this is
> > an
> > AIR/Android issue?
> >
> > It seems trying to fix the problem for 6.0 affects the look and feel in
> > IOS
> > and in anything lollipop (5.1) and below.
> >
> > Very Frustrating - Any feedback is appreciated, Thanks!
> >
> > Using latest Apache Flex + AIR 21, 22 Beta
> > -Jonathan
> >
> >
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Android-6-0-tp12439p12441.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to