Page 1 of 1

Runtime added TIWCGJQFrame - browser resize issue

PostPosted: 22 May 2021 18:39
by Craig Burke
Hello,

Mobile app.
I am swapping out TIWCGJQFrame's on the main form during runtime. TIWCGJQFrame and all TIWCGJQMRegion are set align:=alClient. The TIWCGJQMEdit's, TIWCGJQMLabel's and TIWCGJQMButton's are set align:= alTop. When first displayed all is fine. The issue is that nothing resizes when the browser is resized. i.e. if the phone is rotated the controls are not resized to fit the screen. It requires a refresh of the browser to resize the controls correctly. Note. only the controls that are added during runtime act this way.


CGDev v. 4.1.0.168
Thanks,
Craig

Re: Runtime added TIWCGJQFrame - browser resize issue

PostPosted: 29 Jun 2021 16:48
by Alexander Bulei
Hi Craig Burke,
Did you checked on other phones?

Re: Runtime added TIWCGJQFrame - browser resize issue

PostPosted: 29 Jun 2021 19:37
by Craig Burke
Hi Alexander,

No. Was actually testing via desktop and simply resizing browser.
All design time controls are sizing properly.

Thanks,
Craig