bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23527] New: JMenu with shortcut/accelerator looks bad


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/23527] New: JMenu with shortcut/accelerator looks bad
Date: 23 Aug 2005 11:44:07 -0000

The current version of JMenu (up to Classpath CVS 2005.08.23) 
does not reserve any extra pixels to the right of a JMenu with
shortcut/accelerator. This looks really bad, see attached screenshot.
It would be better to reserve a extra few pixels (2..3 or whatever
is used on the left) for the right margin...

(The screenshot shows the attached testcase running under both JDK 1.4.2
and Classpath CVS 20050823 on Linux with twm/ctwm as the window manager.
Note that the Classpath JMenu gets a spurios top-level window decoration...
but that is not part of this PR).

Compile and run attached testcase for a live demo. The same problem also
occurs for JPopupMenus.

-- 
           Summary: JMenu with shortcut/accelerator looks bad
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23527




reply via email to

[Prev in Thread] Current Thread [Next in Thread]