1

Closed

DockablePanel and Min/MaxSize constraints of InnerControl

description

I set MinimumSize to SeriesSelector control, but DockManager and DotSpatial.Controls.Docking.DockablePanel not take into account this parameter of InnerControl. It would be nice that DockablePanel automatically set it's size accordingly with Min/Max size of InnerControl.
 
see attach

file attachments

Closed May 14, 2012 at 7:50 PM by mudnug
1) This issue is based on the DockManager implementation (not DotSpatial).2) By convention, the DockManager should set its panel size based on the current size of InnerControl. If there are multiple panels in the same area, it is free to use the largest one or the first or last one that was added.

comments

mudnug wrote May 14, 2012 at 7:52 PM

By the way, this convention is followed by DotSpatial.Plugins.DockManager, I have notified the creator of the plugin shown in your image so that he can verify he is following this convention.
        dockPanel.Width = panel.InnerControl.Width;
        dockPanel.Height = panel.InnerControl.Height;