gagaddji2

This commit is contained in:
jess 2026-04-23 07:45:01 -07:00
parent c96ce10ec2
commit 37467d0b17
1 changed files with 6 additions and 0 deletions

View File

@ -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");
}