Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made calculating of DockMinSize for panel based on children DockMinSize #54

Merged

Conversation

scdmitryvodich
Copy link
Contributor

This fix for calculating of DockMinSizes based on children minimal dimensions.
For cases when we have some complex structure, like this:

Group Panel (horizontal):
    Anchorable Panel # 1 (DockMinWidth = 150) "File Stats";
    Group Panel (vertical):
        Anchorable Panel # 2 (DockMinWidht = 150) "Tool1";
        Anchorable Panel # 3 (DockMinWidht = 150) "Color Picker";
    

When we decreasing width of horizontal Group Panel it's not take into account of DockMinWidth for panels # 2 and # 3. And these panels becomes partly hidden under Document panel (see attached screenshot)

AvalonDock_DockMinWidth

@scdmitryvodich scdmitryvodich force-pushed the GatherChildrenDockMinSize branch from 0d639ca to 2391234 Compare July 25, 2019 10:43
@Dirkster99 Dirkster99 merged commit b9a32f1 into Dirkster99:master Jul 25, 2019
@Dirkster99 Dirkster99 mentioned this pull request Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants