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

Compartments should also respect notation sizes #72

Open
haydar-metin opened this issue Nov 7, 2022 · 2 comments
Open

Compartments should also respect notation sizes #72

haydar-metin opened this issue Nov 7, 2022 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@haydar-metin
Copy link
Collaborator

Follow up to #54

If a container has a size and a header, then the compartment will be smaller than the size defined in the notation, because the header also takes some height / size. In other words, the size defined in the notation is the size of the whole element.

However, this causes the container to shrink if a element is moved from the bottom edge to the center/top.

@haydar-metin haydar-metin added the bug Something isn't working label Nov 7, 2022
@haydar-metin
Copy link
Collaborator Author

haydar-metin commented Dec 6, 2022

The size should be dynamic, i.e., if the name is changed then they should also get smaller (Long name -> short name)

@haydar-metin haydar-metin added the enhancement New feature or request label Dec 6, 2022
@haydar-metin
Copy link
Collaborator Author

haydar-metin commented Jan 2, 2023

Also adding child nodes to compartments does not add the child to the location of the mouse

Resizing does not respect child elements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant