Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8163175

PlainView.modelToView() method should return Rectangle2D

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: