So you know, the 2D forum isn’t for posts related to the UI system so I’ll move your post to the UI forum. Also, when posting code, please use code-tags and not plain text as it makes it much easier to read code and refer to it by line number.
Thanks.