Mercurial > hg > xemacs-beta
diff src/dialog-msw.c @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | a4f53d9b3154 |
children | 8626e4521993 |
line wrap: on
line diff
--- a/src/dialog-msw.c Mon Aug 13 11:01:58 2007 +0200 +++ b/src/dialog-msw.c Mon Aug 13 11:03:08 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 accommodate its text, so the width is calculated as + but it can be expanded to accomodate 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