-
-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
Description
Issue: Sub ToolDock Does Not Inherit GripMode Properly
First of all, thank you for providing such a great component.
I would like to report an issue regarding the ToolDock
behavior when adding tools.
When a ToolDock
has its property set to GripMode = GripMode.AutoHide
, the first tool added respects this setting. However, any subsequent tools added to the same ToolDock
do not inherit the AutoHide
setting.
For example, consider the following code:
var mainToolDock = new ToolDock
{
Id = $"MainToolDock_{DateTime.Now.Ticks}",
Title = title,
ActiveDockable = null,
VisibleDockables = CreateList<IDockable>(),
Alignment = Alignment.Left,
GripMode = GripMode.AutoHide
};