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

ellipsis style on labels

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: wtk, wtk-terra
    • Labels:
      None

      Description

      Add an ellipsis style on labels (default off), to trim the drawn label if it's too long in respect of the space assigned.

      Depending on the chosen style, ellipsis chars could go at end of the label, at center, at start, etc ...
      Could be useful in some cases to have also "strange" behaviors, like for URLs or file paths where for example could be useful to trim some parts of the string but near the end of the path, but keeping the filename part full (if possible).

      Verify if enable user defined behaviors also (for example giving in a sub-style attribute the full classname of a custom implementation, but maybe this could be too complex or not in line with other parts in Pivot.

      Verify if add also a sub-style attribute to set a different char to use for the ellipsis (instead of the default "...").

        Attachments

          Activity

            People

            • Assignee:
              smartini Sandro Martini
              Reporter:
              smartini Sandro Martini
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: