mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
[FancyZones]Set better default layout for vertical monitors (#19412)
This commit is contained in:
@@ -22,6 +22,13 @@ namespace FancyZonesEditor.Models
|
||||
{
|
||||
Window = new LayoutOverlayWindow();
|
||||
Settings = new LayoutSettings();
|
||||
|
||||
// provide a good default for vertical monitors
|
||||
if (monitorSize.Height > monitorSize.Width)
|
||||
{
|
||||
Settings.Type = LayoutType.Rows;
|
||||
}
|
||||
|
||||
Device = new Device(workArea, monitorSize);
|
||||
|
||||
if (App.DebugMode)
|
||||
|
||||
Reference in New Issue
Block a user