Hi Jonathan,

The default skin has a configurable corner radius, that you can change to draw 
square corners.

Derive your skin from spark.skins.mobile.ScrollingStageTextInputSkin and set 
the corner radius to 0 in the constructor like this:

public function MySquareTextInputSkin()
    {
        super();
       layoutCornerEllipseSize = 0;
    }

Check the sources in the SDK for more details.

Regards,

Maurice 

-----Message d'origine-----
De : Greg Dove [mailto:[email protected]] 
Envoyé : vendredi 13 juin 2014 22:34
À : [email protected]
Objet : Re: TextInput - no soft keyboard in iOS

You might need to ensure that you have the skin based on 
spark.skins.mobile.TextInputSkin for iOS instead of 
spark.skins.spark.TextInputSkin

I know I had similar problems with iOS in the past.




On Sat, Jun 14, 2014 at 8:04 AM, Jonathan Christian < 
[email protected]> wrote:

> Hey Apache friends,
>
>
> I'm a little perplexed on this issue I am having. The ultimate goal is 
> to have square corners on a textinput box in a mobile flex project 
> using Flex
> 4.12.1 and AIR 13.
>
> I have a typical spark textinput box that uses 
> spark.components.textInput
> (<s:TextInput>) -  works fine
>
> But when I add a skinclass of
>      [HostComponent("spark.components.TextInput")]
>  for my host component in an MXML spark skin I achieve my rectangular 
> input box but lose the keyboard in iOS - works fine in android.
>
> I tried a basic project doing the same hostcomponent as my skin and 
> had the same results.
>
> Any ideas on why this is and is there a way to make this work?
>
> Thanks,
> Jonathan
>
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/TextInput-no-soft-keybo
> ard-in-iOS-tp6844.html Sent from the Apache Flex Users mailing list 
> archive at Nabble.com.
>

Reply via email to