The deployed program window size is inconsistent with the actual designer window size

During the learning process, it was found that the size of the packaged and deployed program window was inconsistent with that of the actual designer program window. Picture for Win32 platform.