Component sizing with a function

You might wanna upload what you have got?

Check this wiki: