0

I am developing an Air Application for mobile Devices. During the registration process we have some TextInput Fields.

On all devices everthing works fine but on iOs the cursor and the input text is placed somewhere in the middle of the TextInput - I think at the point the user clicks into the field...

Can I avoid this behaviour?

Thanks,

Christian

Seems the TextInputSkin makes the problem...

s|TextInput
{
    skinClass:        ClassReference("spark.skins.mobile.TextInputSkin");
    contentBackgroundColor: #807F7F;
    color:          #FFFFFF;
    fontSize:       32;
    fontFamily:     GGStandardFont;
    fontWeight:     normal;
}
4

1 回答 1

0

我遇到过类似的问题,这似乎源于对 TextInput 使用自定义字体。

在编辑 TextInput 时将字体系列设置为网络安全字体(即 Arial)有帮助。然后重新设置字体。

例如。(弹性)

softKeyboardActivating="setStyle('fontFamily', 'Arial')"
softKeyboardDeactivating="setStyle('fontFamily', 'MyCustomFont')"
于 2013-06-10T16:57:55.967 回答