classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: SizeRequirements improvement


From: Roman Kennke
Subject: [cp-patches] FYI: SizeRequirements improvement
Date: Sun, 25 Sep 2005 16:03:07 +0200

I improved the SizeRequirements.calculateAlignedPositions (used by
BoxLayout) so that it better respects the min/max sizes of the
components and make better use of the available layout space.

2005-09-24  Roman Kennke  <address@hidden>

        * javax/swing/SizeRequirements.java
        (calculateAlignedPositions): Improved algorithm to better
        respect the minimum and maximum size and to better use the
        available space.
        (adjustFromRight): New helper method.
        (adjustFromLeft): New helper method.

/Roman

Attachment: SizeRequirements.diff
Description: Text Data

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

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