Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to prevent StaticTextItem value from wrapping?

    I can't seem to find an API on StaticTextItem to prevent wrapping. Is there an equivalent to StaticTextItem.setWrapTitle(false) that will do the same for the StaticTextItem value?

    #2
    You can currently do this system-wide or per-component via skinning (wrap:false in the CSS style), or via a formatter that adds a surrounding element with wrap:false (or just a <nobr>). For a quick shortcut useful in some use cases, put <nobr> directly around the value.

    Comment

    Working...
    X