From 37467d0b170b94fc728c151de3afe13331ba6dab Mon Sep 17 00:00:00 2001 From: jess Date: Thu, 23 Apr 2026 07:45:01 -0700 Subject: [PATCH] gagaddji2 --- shell/windows/LayersShell/MainWindow.xaml.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell/windows/LayersShell/MainWindow.xaml.cs b/shell/windows/LayersShell/MainWindow.xaml.cs index 8cf4bb0..bb1d343 100644 --- a/shell/windows/LayersShell/MainWindow.xaml.cs +++ b/shell/windows/LayersShell/MainWindow.xaml.cs @@ -45,13 +45,19 @@ public sealed partial class MainWindow : Window App.Log($"presenter kind: {appWindow.Presenter?.Kind}"); if (appWindow.Presenter is OverlappedPresenter op) { + App.Log("op: set IsAlwaysOnTop"); op.IsAlwaysOnTop = true; + App.Log("op: set IsResizable"); op.IsResizable = true; + App.Log("op: set IsMaximizable"); op.IsMaximizable = false; + App.Log("op: set IsMinimizable"); op.IsMinimizable = true; + App.Log("op: SetBorderAndTitleBar"); op.SetBorderAndTitleBar(hasBorder: false, hasTitleBar: false); App.Log("OverlappedPresenter configured"); } + App.Log("before ResizeClient"); appWindow.ResizeClient(new SizeInt32((int)DefaultLogicalWidth, (int)DefaultLogicalHeight)); App.Log("ResizeClient ok"); }