You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Case A. LayoutFloatingWindowControl does not always update floating properties of child elements when its size was changed. Sometimes (like after setting LayoutFloatingWindowControl.SizeToContent property) it's necessary to reset them explicitely.
Steps to reproduce:
Go to MLibTest project.
Replace code in MainWindow.xaml.cs with the code applied [MainWindow.xaml.cs.1.txt].
Compile the project.
Remove AvalonDock.Layout.config file from the application folder.
Run the application.
Undock bottom panel.
Find created AvalonDock.Layout.config in application folder. Please note that FloatingWidth and FloatingHeight stored in configuration file are different from real sizes of these elements and of undocked panel size.
Case B. Currently AvalonDock does not inform application that uses this library about updates of FloatingHeight/FloatingWidth. So, it's not possible to correctly store these properties between sessions and restore them.
Steps to reproduce:
Go to MLibTest project.
Make FloatingWindowContentHost class public (for test simplicity).
Replace code in MainWindow.xaml.cs with the code applied [MainWindow.xaml.cs.2.txt].
Compile the project.
Remove AvalonDock.Layout.config file from the application folder.
Run the application.
Undock bottom panel.
Set focus to Color picker tab.
Change floating window width/height. Please note that FileStats.SizeChanged event is not called and text exception is not thrown.
Case A. LayoutFloatingWindowControl does not always update floating properties of child elements when its size was changed. Sometimes (like after setting LayoutFloatingWindowControl.SizeToContent property) it's necessary to reset them explicitely.
Steps to reproduce:
Case B. Currently AvalonDock does not inform application that uses this library about updates of FloatingHeight/FloatingWidth. So, it's not possible to correctly store these properties between sessions and restore them.
Steps to reproduce:
MainWindow.xaml.cs.1.txt
MainWindow.xaml.cs.2.txt
The text was updated successfully, but these errors were encountered: