[6001] in java-interest

home help back first fref pref prev next nref lref last post

Unable to resize correctly when adding to a GridBagLayout

daemon@ATHENA.MIT.EDU (Greg Ewing)
Fri Mar 8 01:00:04 1996

Date: Fri, 8 Mar 1996 10:56:24 +1100
From: grege@optimation.com.au (Greg Ewing)
To: java-interest@java.sun.com
Cc: strong-java@entmp.org

Javans,

I know that nobody has successfully mastered GridBagLayout but 
maybe someone has seen this problem and solved it.

When I add a Canvas to GBL there is always a gap between the 
bottom of the Canvas and the bottom of the GBL'd Panel. The 
top, left and right edges of the Canvas extend all the way to 
the Container edge (as expected). The gap at the bottom looks 
about the same size as the top inset of the Frame that contains 
the GBL'd Panel.

When I resize by dragging the Frame, the gap disappears.

Any ideas?

GREG
grege@optimation.com.au

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post