Text_Area horizontalAlignment Problem

I seem to be unable to apply any alignment other than LEFT to a field set to Text_Area. I have fields that need to display multiple lines AND be right aligned or center aligned. I have disabled styles and tried different look & feels to no avail. Any ideas?

If you only want to DISPLAY the data you can use a lable and format the text using html. Dont’ forget to start and end your text with the html tags…

Thanks Marcel, but I don’t want to simply display information. In this instance, users need to enter data that will be printed on a form delivered to a client and the way the data looks on the page is important. Yes, I could allow them to preview a form where their data is displayed correctly using labels, or html or however the form will eventually be printed, but I find it inconvienient to have to preview something, then cancel and make corrections then preview again. Maybe I need to move this post the the bugs section, because this seems buggy to me.

what does seems buggy to you?

alligment is just not supported for textarea’s.
Maybe you can do it with the texteditor and then not html (you could do that) but rtf is maybe a better choice?

what does seems buggy to you?

Simply the fact that I am able to align a text_field field to the right or to the center but not a text_area, rtf_area or html_area field. If the only alignment choice available for ‘area’ fields is left, why do the choices for right and center even appear in the pull-down menu for horizontalAlignment? What is it about ‘area’ fields that makes them unable to align right or center? This is a pretty critical aspect of the ease of use of my application and isn’t an issue in other programs like Excel.

Maybe you can do it with the texteditor and then not html (you could do that) but rtf is maybe a better choice?

I’m sorry, but I have no idea what you are referring to here. Could you explain this in more detail?

in the next version of servoy we will hide all the properties if they aren’t doing anything for a specific combination.

The textarea component of java just doesn’t support horizontal alligment. If you want this then you have to do it through a RTF or HTML editor. And then placing the text in for example html:

TEXT HERE