Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Issue: AvalonDock : Height (and Width) of the LayoutAnchorableFloatingWindow is too small [22457]

$
0
0
Based on discussion https://wpftoolkit.codeplex.com/discussions/660755
Comments: ** Comment from web user: BoucherS **

Hi,

Go in file Xceed.Wpf.AvalonDock.DockingManager.cs,
in method "StartDraggingFloatingWindowForPane"
and replace :
```
if( fwWidth == 0.0 )
fwWidth = paneAsWithActualSize.ActualWidth;
if( fwHeight == 0.0 )
fwHeight = paneAsWithActualSize.ActualHeight;
```
with
if( fwWidth == 0.0 )
fwWidth = paneAsWithActualSize.ActualWidth + 10; //10 includes BorderThickness and Margins inside LayoutAnchorableFloatingWindowControl.
if( fwHeight == 0.0 )
fwHeight = paneAsWithActualSize.ActualHeight + 10; //10 includes BorderThickness and Margins inside LayoutAnchorableFloatingWindowControl.

――――
_Get more controls, features, updates and technical support with [Xceed Toolkit Plus for WPF](https://wpftoolkit.codeplex.com/wikipage?title=Compare%20Editions)_


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>