winforms - Default dialog padding -


What should be the default value for the dialog bar? 8px 10px?

"itemprop =" text ">

Windows UX guidelines tell you to use a 7 DLU paddle all the way around on a dialogue .


  • A dialogue unit (DLU) is based on the average size of a character. It has been defined that "average" character 4 DLU width is 8 DLU high.

  • The average character size, font size, and DPI that the user is currently running on the basis of the font means that the DLU machines or the stationary between users on the same machine Are not there.

  • Different fonts have different aspect ratios which means that the size of a DLU in pixels will be different in horizontal and vertical directions.

96dpi dlus pixels py pixel py ============================================ ====== 1x1 1.75 1.875 1.250 1.625 4x8 7 to 15 6 to 13 Definition of DLU: Average Character = 4x8 7x7 12.25 13.125 8.75 11.375 Dialog Box Margin - All Parties (7)

So user is running Segoe UI 9pt 96dpi (in Windows Vista and 7 default), you want a top and bottom margin of 13 pixels, and a 12px left and right margin.

If the user is running Tahoma 9pt on 96dpi (Windows 2000 and XP Default) 9px of 9px above you want margin and up and left and right margin of 11px.

Other general sizes:

  • MS Sense Serif, 8pt, 96 dpi (Tahoma 8pt, 96dpi (Windows 2000 / XP Default)
  • Tahoma 8pt
  • Seagoi UI 9pt, 120 dpi (Windows Vista Big Fonts Default, Windows 7 DPI default)
  • Celesti UI 11pt, 96dpi (which I run on work)
  • Sagai UI 9pt, 137dpi (which I run at home)

And that's why the user It is difficult to fix the interface, it is difficult to fix it, and most developers simply do not have the font priority to paste their head into the sand and the users pretend, or their DPI settings change.

And the fact is That question was asked 4 months ago, and then dropped, it confirms that developers do not want to hear difficult answers.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -