Thoughts on monopoly sizing
Charles Goodwin <[email protected]>
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Message-ID | <308906BE5D07D5119285009027D61C5722F65A@NTFPS1> |
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/ ch14c.asp That's Microsofts monopoly spec, effectively. What's interesting is that everything is measured in DLUs which, as Rod found and summed up pretty well: <hotrod> DLU == dialogue unit <hotrod> The location and size of a dialog box, as well as the location and size of controls within it, are measured in dialog units (DLUs). A DLU is based on the size of the dialog box font, normally 8-point MS Sans Serif. A horizontal DLU is the average width of the dialog box divided by four. A vertical DLU is the average height of the font divided by eight. <hotrod> nasty Is this the kind of direction we want to be taking? It would be nice to be able to change fonts dynamically through the use of xwt's theme engine. Should we be using references to xwt.static.org.xwt.themes.monopoly.themevars.font, for example? This would be powerful, although probably a bit PITA. :) _______________________________________________ http://lists.xwt.org/listinfo/dev