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

WinLAF: JTextField left side text alignment isn't correct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: