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

Text not centered vertically in bounds for windows default 12px

    Details

      Description

      When you create a Label at its default size, it is not centered vertically within its bounds. This inconstancy causes many layout issues for UI controls with CSS.

        Attachments

        1. Button same padding.png
          Button same padding.png
          6 kB
        2. font-caps-vertical-center.patch
          4 kB
        3. FontMetricsTest.java
          2 kB
        4. RT-27762.png
          RT-27762.png
          101 kB
        5. RT-27762-hack.patch
          2 kB
        6. Screen Shot 2013-02-07 at 5.57.30 PM.png
          Screen Shot 2013-02-07 at 5.57.30 PM.png
          105 kB
        7. Segoe UI vs Lucida Grande.png
          Segoe UI vs Lucida Grande.png
          15 kB
        8. Test.html
          4 kB
        9. Test App.png
          Test App.png
          66 kB
        10. WindowsFontBoundsTest.java
          3 kB

          Issue Links

            Activity

              People

              • Assignee:
                fheidric Felipe Heidrich
                Reporter:
                jasper Jasper Potts
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: