Open haydar-metin opened 1 year ago
The size should be dynamic, i.e., if the name is changed then they should also get smaller (Long name -> short name)
Also adding child nodes to compartments does not add the child to the location of the mouse
Resizing does not respect child elements
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.