[cp-patches] Patch: GridBagLayout fix

Lillian Angel langel at redhat.com
Wed Mar 8 18:22:05 UTC 2006


A small GridBagLayout fix. Some components were not being placed at the
correct y-location. This should depend on the other components in the
row. They should be placed at the y-location of the row, if they are to
be placed last in a column.

This fixes a layout issue in MegaMek.

2006-03-08  Lillian Angel  <langel at redhat.com>

        * java/awt/GridBagLayout.java
        (GetLayoutInfo): If gridy is RELATIVE and there is no component
        in the bottom-most spot of the column, we need to place that 
	component at the y-location of the other components in that 
	row. If there are no other components in that row, then place 
	it at y = 0.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1212 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060308/50d0b214/patch.bin


More information about the Classpath-patches mailing list