Buttons with only one character limited to 40 pixels ?

I tried to created a button with the simply textlabel “X” (a remove button inside a portal). Unfortunately the size must be 40 px min. or greater to display the character “X”. I wonder why there is space to display “…” (three characters ) where there is not enough space to display a single character that takes less space than “…” :o

I wanted to create a button with the size 20x20 and the label “X”.
Button labels should not be limited to a 40px min. size.

Rainer

Setting the border property from LAF Default to empty solves the problem.

Conclusion:
The “LAF Default” border setting limits the minimun possible size to display the button text to 40px where the other border settings do not alter the text.
Example best viewed with a button at 20x20 and text =“x”

Rainer

you can also do it with 20x20 and default LAF
just set the margin to 0,0,0,0