How to make a word wrap in the text of an element (Text, Label, displayField) with ExtJS 4.2.1? -
must show text greater component in inserted. currently, text not wrap automatically.
i've tried using following components: text, label , display field
have tried text contains white space? single word long won't wrapped ever, multiple shorter, space-delimited words maybe will, depending on component use.
if want show long text, use container
, put text html
configuration, , auto-wrap.
the components named have usage, not simple long text:
text
draw
package, , specialized formatting.displayfield
inside form whenever want display (read-only) value part of record load form.displayfield
won't wrap @ - trytextareafield
readonly
configuration that.label
label of form field, if used vialabelable
mixin, of work.label
should make content wrap around if provide fixed width or maxwidth, not automatically adhere parent object layout.
Comments
Post a Comment