🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9253

JMenuItem and Icons

#9253
From: Arjuna Chala
Date: Thu, 04 May 2000 00:00
14 lines
1005 bytes
I am trying to line up menu items with text only and menu items which have
an icon. For example if you look at the JBuilder project menu all the text
is aligned to the same margin. It does not matter if they have an icon or
not.

When I try to do the same thing, the left margin of the text on menu item
with an icon is offset by the width of the icon. In the case where the menu
item does not have an icon there is no consideration of an offset.

What should I do to get the correct effect ?

Thanks

Arjuna Chala.
Technical Details
Message-ID: <3911a5e0@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,efb00316d031a612,start
X-Google-Attributes: gid111d45,public
From: "Arjuna Chala" <arjunachala@mindspring.com>
Subject: JMenuItem and Icons
Date: 2000/05/04
Message-ID: <3911a5e0@dnews>
X-Deja-AN: 619205164
X-Trace: 4 May 2000 09:31:28 -0800, 127.0.0.1
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300