Skip to content

Commit

Permalink
Fix issue with default window style and resizer window host Dirkster9…
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnslndh committed Dec 29, 2020
1 parent 86f1e57 commit 85ae799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/************************************************************************
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
Expand Down Expand Up @@ -318,6 +318,7 @@ private void ShowResizerOverlayWindow(LayoutGridResizerControl splitter)
panelHostResizer.Children.Add(_resizerGhost);
_resizerWindowHost = new Window
{
Style = new Style(typeof(Window), null),
ResizeMode = ResizeMode.NoResize,
WindowStyle = WindowStyle.None,
ShowInTaskbar = false,
Expand Down
1 change: 1 addition & 0 deletions source/Components/AvalonDock/Controls/LayoutGridControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ private void ShowResizerOverlayWindow(LayoutGridResizerControl splitter)

_resizerWindowHost = new Window
{
Style = new Style(typeof(Window), null),
SizeToContent = System.Windows.SizeToContent.Manual,
ResizeMode = ResizeMode.NoResize,
WindowStyle = System.Windows.WindowStyle.None,
Expand Down

0 comments on commit 85ae799

Please sign in to comment.