gagaddji2
This commit is contained in:
parent
c96ce10ec2
commit
37467d0b17
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue