kieler / klighd-vscode

Eclipse Public License 2.0
9 stars 6 forks source link

Diagram Sidebar can Overlap with the Diagram #174

Open soerendomroes opened 4 months ago

soerendomroes commented 4 months ago

Diagram sidebar can overlap with the diagram. The last time I looked into this, I remember that it caused unusual animations if we trivially limit the widget's width by the sidebar width (which we know).

soerendomroes commented 4 months ago

Do we do something similar to limit to display for the proxies?

NiklasRentzCAU commented 4 months ago

The sidebar overlapping the diagram is an intended feature, so that e.g. opening and closing it won't resize the diagram all the time. I can think of an option to have the usual scaling be limited so that its does not end up below the sidebar, if wanted. What kind of unusual animations are you talking about? The proxies are limited and even put visibly next to a opened sidebar, see here.

soerendomroes commented 4 months ago

I think it would be enough that the sidebar does not overlap the diagram in the collapsed state. I think the problem was that the diagram was always resizing the full window and shortly after that resized to the actual available space.