Background:
I want to align some text on the left side of the screen, and on the right side of the screen. But a hint seems to only accept a single <align> for the entire input.
I have now aligned my text to the left and am now trying to calculate the <pos> manually based on the string width.
Online i can only find resources which use Windows Forms or Text Component properties or methods, but here i am not sure if anything like that would even be accessible.
Maybe someone here has any idea on how i could achieve this?