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.

enter image description here

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 @ - try textareafield readonly configuration that.
  • label label of form field, if used via labelable mixin, of work. label should make content wrap around if provide fixed width or maxwidth, not automatically adhere parent object layout.

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -