这是indexloc提供的服务,不要输入任何密码
Skip to content

LayoutDocument CanClose is false but still showing close button #196

@zaksmolen

Description

@zaksmolen

It looks like there was stuff done in regard to this with LayoutAnchorables but was the same not fixed inLayoutDocuments?

We just updated our Xceed DockingManager, freaked out, cursed a bunch, and then very happily found this fork. It seems to be pretty much a drop-in replacement, but one slight difference I have noticed so far is that LayoutDocuments with CanClose set to false still show the closing "x" where they used to not show an "x" and didn't even take space for it. The "x" doesn't work, it does not close the window, but it's still showing up or leaving a placeholder space for it. If I change some things to LayoutAnchorables the "x" does not show, but there are other issues and the LayoutDocuments seem to work better for my needs. Here's a comparison between the same code with old and new libraries:
Old:
image

New:
image

This isn't an especially major issue, but knowing our users, they'll all try to click an X if it's there, and complain when it doesn't do anything! I'm happy to just hide it with styling or anything like that as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions