EGD-3190 Workaround: setting elements visible in box positioning doesn't work

setSize in callback for element when it changes it's visibility
now there is no clean way to inform parents abot need of resize (which
needs to be added)
This commit is contained in:
Internal Server Error - Gitea: Git with a cup of tea
500 Internal Server Error

Gitea Version: 1.28.0+dev-477-g8b6ad49a5f