unable to position text and rectangle #809
Unanswered
roeeNavonPrivate
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi, I'm currently on vacation until mid-march, sorry. Will try to help once I'm back. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i am trying to write a ui component that is a text inside a rectangle, such as the text will fit exactly the rectangle (so i whould be able to use a java class to add padding to the text) so far it is the results:

there are 2 problems:
there is a gap around the text (that i want to get rid of)
the gap changes base on font size
here is the code
Beta Was this translation helpful? Give feedback.
All reactions