Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-753

Provide an alternative to whitespace for wrapping long Label text

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0
    • 2.5
    • wtk
    • Windows XP SP3, OSX 10.6.7, RHEL 5.6

    Description

      For long Label text that doesn't contain whitespace but with "wrapText:true" it would be nice to have an alternative place to wrap the text.

      Possible Solutions:

      • Provide a user-supplied "wrapChars" string containing suggested break characters
      • Break on either whitespace or some combination of Character attributes (for instance: DASH_PUNCTUATION or CONNECTOR_PUNCTUATION)
      • If there is no whitespace, then break at the exact boundary on whatever character is there (could be conditional on another "wrapAnywhere:true" style)
      • Some combination of the above
      • Use ellipsis as in PIVOT-623 without "wrapText" set.

      Note: there was preliminary discussion of this issue as part of the comments in PIVOT-623. Moved to a new issue to avoid further confusion of the original ellipsis issue there.

      Attachments

        1. label2.patch
          4 kB
          Roger Whitcomb
        2. label.patch
          5 kB
          Roger Whitcomb

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            whiro01 Roger Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: