-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Design Guidelines
Faryan Rezagholi edited this page Oct 2, 2019
·
1 revision
- All forms must have their AutoScaleMode property set to
Dpiin order for DPI scaling to be correctly applied - Ensure all forms and user controls can be opened in the Visual Studio designer. This typically means ensuring the form has a parameterless constructor.
- Use the NG version of a control (found in UI\Controls\Base) if one exists. This will ensure the control is correctly styled.
- All localization (such as
ApplyLanguage()) should occur in the constructor of the form/control rather than in an event handler (such asOnLoad()). - Always use Segoe UI; 8.25pt as a font
- When needed to place alements next to each other leave enough space between them as translated strings might need more space.
- Buttons should not be smaller than 100x24px
- If using the Visual Studio UI designer on a HiDPI screen, ensure Visual Studio is running in DPI-unaware mode. We assume all design work is done at 96 DPI. This will ensure the correct display of UI elements across devices.
-
Contribute
-
Workflow
-
Developer Guides
-
Testing