Control layout ( Windows 7 UI style ) RRS feed

  • Question

  • There are some Microsoft recommends for layout:

    Look at spacing. There are many advices : dialog box margins, Dialog box margins and etc.

    My question is if I have main font on the form is Arial 11 ( second variant is Arial 9 ) what layout in PIXELS should I have using this recommends ?

    Microsoft recommends a left margin of 7 Dialog Units (DLUs) between controls in forms. So what is this DLU?
    The definition follows - A vertical dialog unit equals 1/8 the font height, and a horizontal dialog unit equals 1/4 the font width.

    The actual problem is,  when we talk about the system font above, how do we design a form, for a variety of possible font sizes and system resolutions, on the dev machine? Should we keep the measurements dynamic or is there a way to mandate the sizes in DLUs, rather than pixels?

    And how I can calculate DLU for Arial 11 and Arial 9.

    So the main quesion is -

    1 .What is laoyout in pixel for form with Arial 11
    1 .What is laoyout in pixel for form woth Arial 9

    I create my super player Media Glass
    • Moved by Harry Zhu Friday, August 13, 2010 8:10 AM (From:Visual C# General)
    Wednesday, August 11, 2010 10:47 AM


All replies