swingx
  1. swingx
  2. SWINGX-1081

IconHighlighter cannot set alignment

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: Highlighter
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,081

      Description

      IconHighlighter should be able to set the alignment for the position of the
      icon. Currently, the highlighter can only place the icon in the default
      position.

      Karl

        Activity

        Hide
        kleopatra added a comment -

        Hmm .. not sure what you mean, the horizontal/vertical textPosition? Currently
        not supported because that's not part of the collection of properties which are
        guaranteed to be reset in ComponentProvider. On the other hand, that set of
        properties certainly is incomplete, so could add it. But with IconHighlighter
        being a bad idea anyway ...

        Anyway, the base issue would be to review the default properties in
        ComponentProvider for possible enhancements and then check if the concerned
        highlighters have methods to change those - would view it as enhancement/task
        issues for postfinal.

        Cheers
        Jeanette

        Show
        kleopatra added a comment - Hmm .. not sure what you mean, the horizontal/vertical textPosition? Currently not supported because that's not part of the collection of properties which are guaranteed to be reset in ComponentProvider. On the other hand, that set of properties certainly is incomplete, so could add it. But with IconHighlighter being a bad idea anyway ... Anyway, the base issue would be to review the default properties in ComponentProvider for possible enhancements and then check if the concerned highlighters have methods to change those - would view it as enhancement/task issues for postfinal. Cheers Jeanette
        Hide
        Karl Schaefer added a comment -

        I was refering to the location of the icon relative to the text.
        IconHighlighter should support all of the JLabel icon/text arrangements. In
        short, yes, I was refering to get/set/Vertical/Horizontal/TextPosition.

        Karl

        Show
        Karl Schaefer added a comment - I was refering to the location of the icon relative to the text. IconHighlighter should support all of the JLabel icon/text arrangements. In short, yes, I was refering to get/set/Vertical/Horizontal/TextPosition. Karl
        Hide
        kleopatra added a comment -


        postponing non-critical issues

        Show
        kleopatra added a comment - postponing non-critical issues

          People

          • Assignee:
            kleopatra
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: