🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

GridBagLayout problem?

#11527
From: Brian Grayless
Date: Tue, 18 May 1999 00:00
16 lines
1274 bytes
I need help.  I have a bevel panel with a picture inside.  I want the
picture to be able to resize proportionally inside the pane when the
window resizes.  I have tried changing layouts, however our programmer
wants it in GridBag or something that will work cross-platform.
Everytime I try something though, the picture seems to explode pushing
all the other fields off the window edge. The purpose of this window is
to be able to preview pictures and the picture information.  I'm not
sure if the problem is with the pane itself, or if its with the
photopreview inside the pane.  OR, does this need to be fixed
programmatically.  The picture also needs to fit to it's longest
dimesion and expand proportionally.

Any suggestions?

Thank you,
Brian
Technical Details
Message-ID: <37417CDB.E1CCC49D@dtint.com>
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,2b3812d587806b58,start
X-Google-Attributes: gid111d45,public
From: Brian Grayless <bgrayless@dtint.com>
Subject: GridBagLayout problem?
Date: 1999/05/18
Message-ID: <37417CDB.E1CCC49D@dtint.com>
X-Deja-AN: 479454510
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing