Hi
I am using an UltraTextEditor in a gridbaglayout panel. its is set to dock so that the UTE expands to fill the space given to it.
I have set multiline on so that it does actually fill the space and have set Text Align to middle and centre, hoping that the text will sit in the middle of the UTE in the same way that it does with a label.
However it doesn't, the text sits in the middle of the horizontal axis, but at the top of the box. Is there anything I can do to make it sit in the middle of the vertical axis in the same way an ultralabel works?
My application resizes the windows based on the screen size, and on big displays it looks a bit rubbish.
I am also looking for a way to get the font to resize based on the size of the UTE control so it propotionally readjusts according to the space it has.
Thanks in advance
Hi again,
Could you please inform me, is it my suggestion work for you? If you have any questions, please do not hesitate to ask me
Regards
georgi
Hello Georgi
Please accept my apologies, I did not see your reply
I have ammended the project, what I would like is for the text alignment in the TextEditor to match that of the label ie in the middle(both horizontally and vertically), but what it does is sit in the middle at the top
I have modified the Appearance.TextHAlign and Appearance.TextVAlign to Center amd Middle, but it appears that only the TextHAlign works.