Board index » delphi » Button captions & large fonts

Button captions & large fonts

How do you keep TButton captions from overflowing the boundaries of
the button when a user has large fonts switched on?
 

Re:Button captions & large fonts


Im Artikel <1mbv7sgrgc1b5nfo97soe7667q7to1t...@4ax.com>, Mark Shapiro
<info...@swbell.net> schreibt:

Quote
>How do you keep TButton captions from overflowing the boundaries of
>the button when a user has large fonts switched on?

Have AutoSize off, and reserve a decent area for the button. It's up to you,
whether you use any third party components or your own sizing and arrangement
procedures, that really will match all requirements. The underlaying bug exists
in Windows itself, and was not cured since decades, but aggravated instead with
every Windows version :-(

DoDi

Other Threads