This is a migrated thread and some comments may be shown as answers.

Radpane content not resizing when changed after LoadLayout

0 Answers 29 Views
Docking
This is a migrated thread and some comments may be shown as answers.
YBOT
Top achievements
Rank 1
Veteran
YBOT asked on 20 Jun 2019, 09:35 AM

I have implemented load/save layout based on the examples on your Github page:

using (FileStream layoutFile = new FileStream(Path.Combine(DockingLayoutPath, DockingLayoutFileName), FileMode.Open))
{
  radDocking.LoadLayout(layoutFile);
}

 

using (FileStream layoutFile = new FileStream(Path.Combine(DockingLayoutPath, DockingLayoutFileName),FileMode.Create))
{
   radDocking.SaveLayout(layoutFile);
}

 

I have datagrids inside my radpanes. When I do not load the layout the datagrid width will track the width of the radpane when resized. However when I save/load layout the datagrid will no longer track the radpane width when resized. On LoadLayout when the radpane is made smaller a horizontal scrollbar will appear and when the radpane is made bigger there will be an empty gap between the radpane border and the side of the datagrid.

 

How do I get the radpane content sizing to work like it does before the layout has been loaded?

 

No answers yet. Maybe you can help?

Tags
Docking
Asked by
YBOT
Top achievements
Rank 1
Veteran
Share this question
or