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

Lanai - Button text is not center aligned

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Test to run -
      ~/jtreg/bin/jtreg -jdk:$JAVA_HOME -Dsun.java2d.metal=true test/jdk/java/awt/Button/ActionEventTest/ActionEventTest.java

      The test passes functionally, but the button text is not centrally aligned with Metal pipeline for 'Click Me' button.
      Please refer attached screenshots.

      Tested on Catalina (10.15.4) with Retina display.

        Attachments

        1. Metal.png
          180 kB
          Ajit Ghaisas
        2. OGL.png
          180 kB
          Ajit Ghaisas

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                aghaisas Ajit Ghaisas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: