UI Controls Overlapping & Fonts Issue in a Windows Forms Application

I created a Windows Forms application. I have a form with some controls. Controls overlap, and fonts change automatically, in some places fonts are white in buttons, text blocks. I am adding a picture for a better understanding.

1 : Overlapping & fonts issue

This happens on some end-user systems; I cannot find the cause of this problem.

Any help would be appreciated.

Thnx in advance

+4
source share
3 answers

If you use system fonts and colors, your winforms application is dominated by the font and operating system settings.

For example, if the ForeColor property for your buttons is set to ControlText (system color) and not black (for example), your application will be displayed using any ForeColor property of the operating system.

Also keep in mind that adjusting the font size of the operating system will affect the layout of your forms. If the font size of the operating system is set to 125% or 150%, overlap problems may occur.

+3
source

group control seems a little small to contain auxiliary controls, try to make it larger for them.

0
source

Try setting the AutoEllipsis property to true. I believe that the most correct way is to use layout controls in conjunction with the corresponding snap and dock options. If installed correctly, they should automatically stretch the controls if necessary

0
source

All Articles