PlainView.modelToView() method should return Rectangle2D

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs

      The text position can have floating point value on HiDPI display.

      The PlainView.modelToView() uses Utilities.getTabbedTextWidth(s, metrics, tabBase, this,p0) method to calculate the text width.

      It should be changed to the same method with floating point arguments introduced by the fix JDK-8156217 Selected text is shifted on HiDPI display and return Rectangle2D.

            Assignee:
            Alexandr Scherbatiy
            Reporter:
            Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: