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

WinLAF: JTextField left side text alignment isn't correct

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      Text in a JTextField under the Windows LookAndFeel is not placed at the same location as in a native text field. This is true of the XP Style and the Classic style.

      Native text areas (I looked at the Find dialogs in Notepad and IE) have 3 white pixels between the border rect and the first pixel of the text (I used a capital 'M') under Windows XP style. Under Windows Classic Style this is 2 pixels.

      JTextFields under the Windows LookAndFeel have 2 pixels and 1 pixel under XP Style and Classic style, respectively - one too few in both cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bchristi Brent Christian
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: