Article View: borland.public.jbuilder.java.swing
Article #12839JButton...
From: Matt Krevs
Date: Thu, 05 Nov 1998 00:00
Date: Thu, 05 Nov 1998 00:00
11 lines
1055 bytes
1055 bytes
I have noticed (as no doubt everyone else has ) that java truncates a button's label ( ie a few characters then ... ) when the button gets to a small enough size. You may also have noticed that button text is shortened even though there is often plenty of room for the whole text to fit on the button. I am guessing that each button has some type of insets or something so that the text always starts/ends at least X pixels from the edge. Does anyone know how to change the default behaviour so that java is more forgiving when it tries to display the text for a button - this is really driving me crazy.
Technical Details
Message-ID:
<71r9kk$ci323@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3204216edc34d6f4,start X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: JButton... Date: 1998/11/05 Message-ID: <71r9kk$ci323@forums.borland.com> X-Deja-AN: 408547986 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing