Dear Mateusz,
I'm sorry if my description was a bit unclear and complicated. I'll try to explain it more understandable.
I'm trying to develop something like this:
The image seen above is the actual development state. My problem is the huge margin between the "assumptions" and the bottom border of the box. The Contents in the Box like "formula" or "purpose" can vary and dont need to be existent for every entity. That means I cant specify how much height the box needs. My idea was to "correct" the height of the entity after every content was added.
The original height is set in line 20. The variable "dim_firstContent" then keeps the updated height. When every content is added dim_firstContent should contain the perfect height for the entity.
In line 215 I then tried to set the "perfect height" to the original height variable.
So basicly I tried to do something like this:
But as it seems the change of the original height variable doesnt have a effect for the rendering of the entity. At least not after it was first specified
Best Regards
Oliver