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

XP L&F: Menu appearance does not conform to native XP look with icons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 1.4.2
    • client-libs

    Description



      Name: jk109818 Date: 08/15/2003


      FULL PRODUCT VERSION :
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      I am experimenting with the XP L&F under WinXP. I encountered this:

      a) The text of a menu item is somewhat indented (i.e. doesn't start directly at the left border) but under native XP the indention is smaller.

      b) The space between the left border and the beginning of the text is always there and is _not_ used for i.e. check marks or other glyphs. So if one is using a menu with simple text items together with some items with icons, it's getting really unpleasant to look at.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Creating any simple menu where some items have an icon and others have not should do.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      (the @ shall represent an icon, for example the "scissors" in a "Edit" Menu):

      The layout of the menu should like native XP:

      Testmenu
      ----------
         Yadda
       @ Foo
         Bar
         Etc


      ACTUAL -
      But you get a menu where the menu items are somewhat weired aligned.

      Testmenu
      ----------
       Yadda
       @ Foo
       Bar
       Etc

       

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 188642)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              leifs Leif Samuelsson (Inactive)
              jkimsunw Jeffrey Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: