Panel scaling when the form is resized is only part of the problem. The biggest inconvenience is the change in the font display scale, which the user sets in his operating system. Although the form has a Scale property, which is responsible for the correct scaling, I cannot call it "correct". There may be several solutions.
1. Сreating a "loose" design that would allow the system to increase the size of fonts and elements without clipping and text overlapping other elements. This works for all components except the table - cell sizes don't automatically resize when font scaling changes.
2. Disabling the Scale property and creating your own scaling system. A universal solution, but very time-consuming to implement. In addition, the Rock property of the form must be set in the constructor, the programmatic change does not change anything, since it is used at the moment the form is created. Therefore, built-in system forms cannot be used with this system.
Визуальное программирование:
блог и
телеграм-канал.