[SWINGX-1371] HighlightPredicate.IS_TEXT_TRUNCATED: must take border into calculation Created: 18/Nov/10  Updated: 28/Jan/11  Resolved: 18/Nov/10

Status: Resolved
Project: swingx
Component/s: Highlighter
Affects Version/s: 1.6.3
Fix Version/s: 1.6.3

Type: Bug Priority: Major
Reporter: kleopatra Assignee: kleopatra
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 1,371


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

Comment by kleopatra [ 18/Nov/10 ]

fixed: revision 3889

  • changed calculation to include inset
  • moved passing test
Generated at Wed Oct 07 21:58:14 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.