mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[KBM Editor] Support WM_DPICHANGED event (#11015)
* [KBM Editor] Support WM_DPICHANGED event * [spell checker] add term * [KBM editor] properly cast new DPI value
This commit is contained in:
@@ -50,13 +50,22 @@ namespace KeyboardManagerConstants
|
||||
// Default window sizes
|
||||
inline const int DefaultEditKeyboardWindowWidth = 800;
|
||||
inline const int DefaultEditKeyboardWindowHeight = 600;
|
||||
inline const int MinimumEditKeyboardWindowWidth = 500;
|
||||
inline const int MinimumEditKeyboardWindowHeight = 450;
|
||||
|
||||
// Increasing the min size can cause issues when moving the window between
|
||||
// monitors with different DPI scaling factor
|
||||
inline const int MinimumEditKeyboardWindowWidth = 200;
|
||||
inline const int MinimumEditKeyboardWindowHeight = 200;
|
||||
|
||||
inline const int EditKeyboardTableMinWidth = 700;
|
||||
|
||||
inline const int DefaultEditShortcutsWindowWidth = 1050;
|
||||
inline const int DefaultEditShortcutsWindowHeight = 600;
|
||||
inline const int MinimumEditShortcutsWindowWidth = 500;
|
||||
inline const int MinimumEditShortcutsWindowHeight = 500;
|
||||
|
||||
// Increasing the min size can cause issues when moving the window between
|
||||
// monitors with different DPI scaling factor
|
||||
inline const int MinimumEditShortcutsWindowWidth = 200;
|
||||
inline const int MinimumEditShortcutsWindowHeight = 200;
|
||||
|
||||
inline const int EditShortcutsTableMinWidth = 1000;
|
||||
|
||||
// Key Remap table constants
|
||||
|
||||
Reference in New Issue
Block a user