Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: TextEdit auto  (Read 16942 times)
Jeremy G.
Posts: 12


« 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.
Reuben B.
Four Js
Posts: 1116


« Reply #1 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

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Jeremy G.
Posts: 12


« Reply #2 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.


* textedit.jpg (15.53 KB, 730x115 - viewed 2537 times.)
Reuben B.
Four Js
Posts: 1116


« Reply #3 on: September 10, 2015, 02:12:26 am »

Check the value for scrollBars property/attribute, I'd expect it to be set to vertical.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Jeremy G.
Posts: 12


« Reply #4 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.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines