🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19218

Re: GridBagLayout

#19218
From: Greg Hamer
Date: Wed, 25 Feb 1998 00:00
21 lines
1275 bytes
you could try giving the buttons a weight without giving them any fill. That
will make their cells take up all the extra room of the panel withought making
them get huge themselves.
Then set the anchor to West.

Keith Thiebaud wrote:

> I am adding Buttons to a Panel that is using the GridBagLayout.  Is there
> anyway to have the buttons automatically justify to the left of the panel
> instead of the center?
>
> Thanks in advance,
> Keith
>
> --
> ----------------------------------------------------------------------------
> ------------------------------------------
> Keith Thiebaud  (IT Manager)   @   Ohio Dept Of Transportation, D-11
> WWW SITE:  www.dot.state.oh.us/dist11/index.htm
> INTERNET  :  KThiebau@ODOT.DOT.OHIO.GOV
Technical Details
Message-ID: <34F4FC34.EF399C7E@wpo.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3490200a.0@dotww001.dot.state.oh.us>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,2c779bfaa0c70369
X-Google-Attributes: gidf74b3,public
From: Greg Hamer <ghamer@wpo.borland.com>
Subject: Re: GridBagLayout
Date: 1998/02/25
Message-ID: <34F4FC34.EF399C7E@wpo.borland.com>
X-Deja-AN: 328740580
Content-Transfer-Encoding: 7bit
References: <3490200a.0@dotww001.dot.state.oh.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Borland International
Newsgroups: borland.public.jbuilder.java.language