Improve input size helper function
Improve input size helper function

The input could affect layout of tapps
TobitSoftware/chayns-components,TobitSoftware/chayns-components,TobitSoftware/chayns-components