🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JdbNavToolBar questions

#12272
From: Matt Krevs
Date: Wed, 27 Jan 1999 00:00
24 lines
1298 bytes
Try calling setMinimumSize() so that the component is never allowed to be
too small. If this doesnt work, override getMinimumSize().

Call validate() to force a container to 'redraw' itself

Chow Kwan Yu wrote in message <36AE69E2.1E29@intellect.com.hk>...
>Hello,
>
>When JdbNavToolBar is resized smaller to certain extend, it doesn't
>re-layout itself.  The images go upward that only the lower parts of the
>images can be seen, and the texts are squeezed to "..." only.
>
>I'd like to ask:
>
>1. how can I re-layout the internal buttons of JdbNavToolBar?
>I tried doLayout(), updateUI(), setSize()... I still can't handle to do
>this.
>
>2. how can I show only the images of buttons in a JdbNavToolBar instead
>of images + texts?
>
>Thank you so much in advance.
>
>Chow Kwan Yu
Technical Details
Message-ID: <78lf7n$ia2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36AE69E2.1E29@intellect.com.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6464852409f694f9
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: JdbNavToolBar questions
Date: 1999/01/27
Message-ID: <78lf7n$ia2@forums.borland.com>
X-Deja-AN: 437284752
References: <36AE69E2.1E29@intellect.com.hk>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing