|
|
@ -53,7 +53,7 @@ namespace Avalonia.Native |
|
|
var monitor = Screen.AllScreens.OrderBy(x => x.PixelDensity) |
|
|
var monitor = Screen.AllScreens.OrderBy(x => x.PixelDensity) |
|
|
.FirstOrDefault(m => m.Bounds.Contains(Position)); |
|
|
.FirstOrDefault(m => m.Bounds.Contains(Position)); |
|
|
|
|
|
|
|
|
Resize(new Size(monitor.WorkingArea.Width * 0.75d, monitor.WorkingArea.Height * 0.7d); |
|
|
Resize(new Size(monitor.WorkingArea.Width * 0.75d, monitor.WorkingArea.Height * 0.7d)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public Size ClientSize |
|
|
public Size ClientSize |
|
|
|