G
Guest
I have come across something that I cannot seem to find a solution for and
would like to know if anyone else has either seen the same thing and/or (even
better) has a solution.
If I set the BorderSize for a flat-style button on a Windows form, the
border is correctly drawn in the designer but it is drawn as being one pixel
wider at runtime. For example, if I set the BorderSize equal to 1, in the
designer, the border will be drawn 1 pixel wide but at runtime it will be 2
pixels wide. The only setting that seems to work like it should is a setting
of 0.
Am I missing something? Any suggestions as to why it works this way and/or
any ideas of how to fix it?
Thank you,
Jason Richmeier
would like to know if anyone else has either seen the same thing and/or (even
better) has a solution.
If I set the BorderSize for a flat-style button on a Windows form, the
border is correctly drawn in the designer but it is drawn as being one pixel
wider at runtime. For example, if I set the BorderSize equal to 1, in the
designer, the border will be drawn 1 pixel wide but at runtime it will be 2
pixels wide. The only setting that seems to work like it should is a setting
of 0.
Am I missing something? Any suggestions as to why it works this way and/or
any ideas of how to fix it?
Thank you,
Jason Richmeier