Mercurial > hg > xemacs-beta
diff src/dialog-msw.c @ 367:a4f53d9b3154 r21-1-13
Import from CVS: tag r21-1-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:07 +0200 |
parents | c9fe270a4101 |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/dialog-msw.c Mon Aug 13 11:00:13 2007 +0200 +++ b/src/dialog-msw.c Mon Aug 13 11:01:07 2007 +0200 @@ -46,7 +46,7 @@ Button metrics -------------- All buttons have height of 15 DLU. The minimum width for a button is 32 DLU, - but it can be expanded to accomodate its text, so the width is calculated as + but it can be expanded to accommodate its text, so the width is calculated as 8 DLU per button plus 4 DLU per character. max (32, 6 * text_lenght). The factor of six is rather empirical, but it works better than 8 which comes from the definition of a DLU. Buttons are