[3714] in java-interest

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

CENTER'd Label doesn't stay CENTER'd

daemon@ATHENA.MIT.EDU (Dave Lennert)
Wed Nov 22 21:56:49 1995

To: java-interest@java.sun.com
Date: Wed, 22 Nov 95 17:11:35 PST
From: Dave Lennert <davel@ibeam.jf.intel.com>

I'm using a Label with it's alignment = CENTER.

The Label is being managed by a GridBagLayout layout manager
with GridBagConstraints.fill = HORIZONTAL (so it should expand
the Label horizontally to fill the space).  It is the only thing
on it's row.

When drawn, the label appears LEFT justified rather then CENTER'd.

What am I doing wrong?
-
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