Hi,
I’m having a strange problem with a textarea field.
I created a Setting form, where I put 3 fields:
header, footer and logo
Header and Footer are text field (rtf areas), logo is a media field
When I put some rtf formatted text into one of the text fields, it refuses to take the alignment, always switching to left. I tried to:
change field’s default settings
paste a previously formatted text from another application
write the text directly into the field
Nothing worked: I always get text aligned to left
OSX.2.8, Servoy 1.2rc8, MySQL 4.0.11a-gamma
Is your dataprovider (column) long enough? keep in mind that the formatting can occupies loads of space, rtf based on column varchar(50) will likely store no text at all.
Jan Blok:
Is your dataprovider (column) long enough? keep in mind that the formatting can occupies loads of space, rtf based on column varchar(50) will likely store no text at all.
I put the column to text, not varchar (it gave me problems with text longer than one line). I noticed that, in table’s structure, the two text fields are not showing any length: do I have to specify it?
Text has unlimited length (no need to specify length)
Jan Blok:
Text has unlimited length (no need to specify length)
So the fields are not responsible for that.
Hmmm: any other idea?
found the problem, it is in the Sun code:
http://developer.java.sun.com/developer … 35839.html
we will try to fix it before release Servoy 1.2 final
Jan Blok:
found the problem, it is in the Sun code:
http://developer.java.sun.com/developer … 35839.html
we will try to fix it before release Servoy 1.2 final
I’m still having problems with text contents. Maybe I’m doing something wrong:
when I enter a text in a field that has, let’s say, a Verdana 10 pts as a default font and I change the font to Futura Bold 9 pts, the behaviour I expect is to have the text formatted with Futura bold 9 pts even after I leave the field.
But when I click out of the field, the text returns to fields default.
If it is the way it’s supposed to work, how can I let the user format the text the way they want?
Thanks
The text toolbar did reapply the default font when clicking on form instead in next field…fixed in Servoy 1.2 final