QML: cavas size is calculated according to tree size