classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: SizeRequirements fix


From: Roman Kennke
Subject: [cp-patches] FYI: SizeRequirements fix
Date: Thu, 13 Oct 2005 20:03:34 +0000

I discovered another problem with the SizeRequirements. The method
calculateAlignedPositions handled the minimumSize incorrectly, this is
fixed. Mauve testcase following soon.

2005-10-13  Roman Kennke  <address@hidden>

        * javax/swing/SizeRequirements.java
        (calculateAlignedPositions): Determine baseline using the total
        requirements argument.
        (adjustFromRight): Use float instead of int for baseline argument.
        Don't handle the <minimum case.
        (adjustFromLeft): Likewise.

/Roman

Attachment: SizeRequirements.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]