Page 1 of 1

using orientationChanged with browser

Posted: Wed Jun 11, 2014 11:02 pm
by ckelly5430
What is the best way to change the dimensions of the browser on the orientationChanged event?
I though it would be just a simple case of changing the width of the group "myBrowser" but I just can't get it to work?
--MobGUI 1.27 and LC 7

Re: using orientationChanged with browser

Posted: Thu Jun 12, 2014 9:32 am
by splash21
The LC group is only a placeholder in the IDE for the browser that will appear on the device, so if you change it's dimensions, you then have to update the actual native control...

Code: Select all

mobileControlSet "myBrowser", "rect", the rect of group "myBrowser"
HTH

:)

Re: using orientationChanged with browser

Posted: Thu Jun 12, 2014 11:01 am
by ckelly5430
Thank you, worked perfectly.