swingx
  1. swingx
  2. SWINGX-1371

HighlightPredicate.IS_TEXT_TRUNCATED: must take border into calculation

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.6.3
    • Component/s: Highlighter
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,371

      Description

      to see the effect:

      • run the visual test for tooltipHighlighter with IS_TEXT_TRUNCATED
      • resize the column so that the ellipsis just appears is a cell
      • move the mouse over

      expected: tooltip appears, actual: no tooltip even though the ellipsis is showing

      probable problem is that the size calculation doesn't take a border into account. Added
      HighlightPredicateIssues with a test method to expose

        Activity

        Hide
        kleopatra added a comment -

        fixed: revision 3889

        • changed calculation to include inset
        • moved passing test
        Show
        kleopatra added a comment - fixed: revision 3889 changed calculation to include inset moved passing test

          People

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

            Dates

            • Created:
              Updated:
              Resolved: