@edvin I'm not sure if you have a Linux box around, but I'm getting some differences in the onDock method which is chained to the OnShowing event. On Linux, this code produces values "480,320", but on Windows, I'm getting a pair of NaN's. I verified through the debugger that both methods are called.