Textfield: vertical alignment


I have a textfield with a timer-number in it (see screenshot).
The padding is set to 0, however the text is still not aligned to the top (red is the background-color of the textfield). Is there a possibility to resolve this?

Screenshot 2024-02-05 095804

Best wishes


You can use negative padding or set the text metrics manually.

Thanks, changing the ascent of the text metrics helped!