this code is NOT production-ready, it's just a sketch to test out a possible solution for a problem
IMPORTANT NOTE: This elemeent doesn't work with flexGrow as it leads to undefined behaviour (recursion). Use Size/Width[%] and Size/Height attributes instead