Ok, I understand the use case, and it makes sense. Can you please raise a JIRA. https://issues.apache.org/jira/browse/FLEX
Maurice -----Message d'origine----- De : Ori 007 [mailto:[email protected]] Envoyé : jeudi 20 mars 2014 09:30 À : [email protected] Objet : Re: Strange TextInput behavior when included in a scaled Group (Mobile) First of all, it happens also when scaling the entire application without using applicationDPI. Second, sometimes on low-resolution Android devices I need to scale only an area that includes a form (otherwise the keyboard covers it) and I don't want to scale the rest of the application. On Thu, Mar 20, 2014 at 9:54 AM, Maurice Amsellem < [email protected]> wrote: > First question, why do you need to scale the group (and not let's say, > the entire application) ? > > Maurice > > -----Message d'origine----- > De : Ori 007 [mailto:[email protected]] Envoyé : jeudi 20 mars 2014 > 08:49 À : [email protected] Objet : Strange TextInput behavior > when included in a scaled Group (Mobile) > > Hello, > > > > While using version 4.12 *mobile* we encountered two issues related to > TextInput component when it is included in a *scaled* Group - > > > > 1. The text is not scaled and appears cut in side the TextInput. > > > <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" > applicationDPI="160"> > > > > <s:Group width="100%" height="50%" *scaleX="**0.5" > scaleY="0.5"*> > > <s:TextInput layoutDirection="rtl" /> > > > > <s:TextInput layoutDirection="ltr" top="100" /> > > </s:Group> > > > > </s:Application> > > > Here is a video that shows the issue: > > http://screencast.com/t/gyAnB6iDl0Gg > > > > > 2. When the scaled Group is set with layoutDirection "rtl" the > internal components disappear. > > > > <?xml version="1.0" encoding="utf-8"?> > > <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:s="library://ns.adobe.com/flex/spark" > applicationDPI="160"> > > > > <s:Group width="100%" height="50%" scaleX="0.5" scaleY="0.5" > *layoutDirection="**rtl"*> > > <s:TextInput layoutDirection="rtl" /> > > > > <s:TextInput layoutDirection="ltr" top="100" /> > > </s:Group> > > > > </s:Application> > > > > > Regards, > > Ori >
