Four Js Development Tools Forum

Discussions by product => Genero Studio => Topic started by: Jeremy G. on September 08, 2015, 12:22:38 pm



Title: TextEdit auto
Post by: Jeremy G. on September 08, 2015, 12:22:38 pm
Hello everyone, I have a textedit widget and I want an auto carriage return to display a large value in multi line. Is there a propertie vale for that?

Regards.


Title: Re: TextEdit auto
Post by: Reuben B. on September 09, 2015, 12:57:38 am
Hi Jeremy,

Sorry I don't understand the question.  Are you able to rephrase the question?

Using TEXTEDIT, your available options would be either ...
in the list of properties using Studio Form Designer https://4js.com/online_documentation/fjs-gst-manual-html/#c_gst_formdesigner_widgetlist_026.html
(or the corresponding list of attributes if using .per https://4js.com/online_documentation/fjs-fgl-manual-html/#c_fgl_FormSpecFiles_TEXTEDIT_Item_Type.html)

or via presentation styles https://4js.com/online_documentation/fjs-fgl-manual-html/#r_fgl_presentation_styles_textedit_style_attributes.html

Also if displaying HTML in the TextEdit via one of the presentation styles (textFormat=html), you might also achieve what you want via HTML.

Reuben


Title: Re: TextEdit auto
Post by: Jeremy G. on September 09, 2015, 10:23:59 am
Hello Reuben,

sorry it's hard for me to explain it. I have a Varchar 255 value to display, when I use the textedit widget, all the text is displayed in a line. I tried to change scrollbars, stretch and others properties and I don't find in the documentation something about it. I want to display all the text in the widget without scrollbars needed.

here is a screenshot.


Title: Re: TextEdit auto
Post by: Reuben B. on September 10, 2015, 02:12:26 am
Check the value for scrollBars property/attribute, I'd expect it to be set to vertical.


Title: Re: TextEdit auto
Post by: Jeremy G. on September 10, 2015, 05:37:11 pm
Ok thanks,
the value by default is correctly set to vertical, but in fact, if there is no space characters in the value, the line will be displayed out of the widget.