Page 1 of 1

Strange Browser fit

Posted: Sat Sep 29, 2012 7:11 am
by Neurox66
Hi,
I've changed the sample "Mobile Examples/Browser Example.livecod" to run on iPhone retina (640x960)
I've added only iphoneUseDeviceResolution "true" to stack code.
But the result is very strange,
the area of ​​the browser will not fit the "rect" group.
See the image :
strangebrowserfit.png
Any hints?
Paolo

Re: Strange Browser fit

Posted: Sat Sep 29, 2012 7:38 am
by Dixie
Paolo...

Have you set the 'autofit' of your browser control... as in

Code: Select all

iphoneControlSet browserID, "autofit",true
be well

Dixie

Re: Strange Browser fit

Posted: Sat Sep 29, 2012 7:50 am
by Neurox66
Dixie wrote:

Code: Select all

iphoneControlSet browserID, "autofit",true
Yes, I've insert them into the code, but the result it's same :(
With the normal resolution (320x480) is perfect (see the image)
browserfit.png
but the problem is in the retina mode (640x960)

Paolo

Re: Strange Browser fit

Posted: Sat Sep 29, 2012 7:57 am
by Dixie
Paolo...

I have a stack that I made when looking at the browser in liveCode mobile.. I have just tried it in both the retina and non-retina simulator mode and it works fine... I have attached it for you, maybe it will help.

be well

Dixie

Re: Strange Browser fit

Posted: Sat Sep 29, 2012 11:25 pm
by Neurox66
Thanks Dixie,
now it's function :D

Paolo