Inconsistent Font Scaling in Widgets

I would like a behavior such as: if the window size gets bigger or smaller (keeping the same resolution for simplicity sake) the text should always end at the same position relative to the textbox border.


In this example the text takes up 80% of the textbox’s width, and even when the window size changes and it resizes the text still takes up 80% of the width.

I don’t know if I’m clear enough.
I suppose there might be limitations due to how Fonts work and maybe change size in increments of X, but visual changes should hopefully not be as dramatic as the first captures I posted in this thread.