Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
44 | 44 |
45 /* | 45 /* |
46 Button metrics | 46 Button metrics |
47 -------------- | 47 -------------- |
48 All buttons have height of 15 DLU. The minimum width for a button is 32 DLU, | 48 All buttons have height of 15 DLU. The minimum width for a button is 32 DLU, |
49 but it can be expanded to accommodate its text, so the width is calculated as | 49 but it can be expanded to accomodate its text, so the width is calculated as |
50 8 DLU per button plus 4 DLU per character. | 50 8 DLU per button plus 4 DLU per character. |
51 max (32, 6 * text_lenght). The factor of six is rather empirical, but it | 51 max (32, 6 * text_lenght). The factor of six is rather empirical, but it |
52 works better than 8 which comes from the definition of a DLU. Buttons are | 52 works better than 8 which comes from the definition of a DLU. Buttons are |
53 spaced with 6 DLU gap. Minimum distance from the button to the left or right | 53 spaced with 6 DLU gap. Minimum distance from the button to the left or right |
54 dialog edges is 6 DLU, and the distance between the dialog bottom edge and | 54 dialog edges is 6 DLU, and the distance between the dialog bottom edge and |