Attempting to resize the dialog box to the size of the full screen ends with the result as shown in the picture:
DialogWidthInside = 100% x
DialogHeightInside = 100% y
The "SetSize" method is not working properly for me. What could be the reason?