Ok, Good morning to all. It's a small tiny snippet that frustrated me for many years and VOILA today morning I found, so simply the solution that was so simple and silly.
So, decided to share to rescue developers' lives.
To justify text within the label just use the Reflector library and one line of code:
[ReflectorObject].Target = [LabelView]
[ReflectorObject].RunMethod2("setJustificationMode", 1, "java.lang.int")
That's it. So silly not?
So, decided to share to rescue developers' lives.
To justify text within the label just use the Reflector library and one line of code:
[ReflectorObject].Target = [LabelView]
[ReflectorObject].RunMethod2("setJustificationMode", 1, "java.lang.int")
That's it. So silly not?