swingx
  1. swingx
  2. SWINGX-1309

WrappingProvider needs a configuration if the IconValue should be highlighted

    Details

    • Issuezilla Id:
      1,309

      Description

      The RendererVisualCheck shows a problem with the WrappingProvider. The icon
      component of the WrappingProvider is not highlighted. e.g. this can make
      problems if the icon is not opaque and the background is highlighted.

      Test-Code for RendererVisualCheck:
      public void interactiveIconTextAlignment()

      { ListModel files = createFileListModel(); JXList list = new JXList(files); ComponentProvider<?> text = new LabelProvider(StringValues.FILE_NAME, JLabel.TRAILING); WrappingProvider wrapper = new WrappingProvider(IconValues.FILE_ICON, text, true); list.setCellRenderer(new DefaultListRenderer(wrapper)); list.addHighlighter(HighlighterFactory.createAlternateStriping()); showWithScrollingInFrame(list, "alignment in wrappingProvider"); }

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            kleopatra
            Reporter:
            uvoigt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: