Set maximal width and height to text

Following the previous commits, this pull request goes further and implements maximal size to text. It can directly be seen at the character premade chooser about the checkbox label (at least in french).

I really hope code formatting is alright this time but let me know if anything is wrong.