Resized event fires on Windows but not when compiled for Windows

In my web-app I am trying to resize the UI to fill the entire browser window. When compiling and running on Windows it works just fine but when compiling for Linux and running, the initial resize is not performed. I don’t know if this is due to the Linux being access over WiFi (causing a delay) or something else.
When resizing the browser window manually the resize is triggered and all is well.

Browser tested is Chrome and using Xojo 2016r4.1. Will try to create a feedback case.

You can separate the code from the Resized event handler, so you call it from both the shown event, and the Resized event. That should do the trick.

Thanks - working now.

Can you please provide a snippet of the code you are using? I am having quite a bit of trouble with the same kind of thing(s).


Not much to see.
I moved all the code from Resized Event Handler into a separate function.
I then call that function from both Resized and Shown Events.