iOS input field

Chipp Walters chipp at agilixideaworks.com
Thu Apr 18 22:42:22 EDT 2013


Figured it out.

I was using iPhoneDeviceResolution true and it worked in previous builds.
But now that there's a second parameter which deals with pixel density, I
need to make sure and pass it:

iPhoneDeviceResolution true,true


Chipp Walters
SVP, General Manager, IdeaWorks

512.577.9258 cell
chipp at agilixIdeaWorks.com
skype: chippwalters

http://youtu.be/PZuK5_u2eyI


On Thu, Apr 18, 2013 at 9:26 PM, Chipp Walters <chipp at agilixideaworks.com>wrote:

> Hey guys. I'm using the iOS input field and the following code...
>
>
> *if* gIsMobile *then*
>
>       *--> SET UP NATIVE CONTROLS*
>
>       *--> USERNAME FLD*
>
>       *answer* the rect of fld "fldUsername"
>
>       mobileControlCreate "input","mUsername"
>
>       mobileControlSet "mUsername","rect",the rect of fld "fldUsername"
>
>       mobileControlSet "mUsername","visible","true"
>
>       mobileControlSet "mUsername","fontSize","22"
>
> end if
>
>
> But the native input field is NOT on top of the fld "fldUsername" (which
> is disabled) but is many pixels below. Anyone know why this is?
>
> This happens on my device, but displays properly in the simulator. Both
> devices are Retina devices. Thanks for any help.
>
> I'm using LC 5.5.4
>
> Would it be better to use 6.0?
>
> Chipp Walters
> SVP, General Manager, IdeaWorks
>
> 512.577.9258 cell
> chipp at agilixIdeaWorks.com
> skype: chippwalters
>
> http://youtu.be/PZuK5_u2eyI
>



More information about the use-livecode mailing list