[b]Hi all,
I have an applet where I draw text in the middle of a rectangle.
The text should not go out of the rectangle bounds
[color=blue]is there a way to expand text size vertically or horizontally only ?
because increasing the font size will increase both side which might result in the text going out of one of the Rectangles side.
I thought of displaying text as images and change its width or height, but I am sure this is not the best solution
[/color][/b]