[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: ViewportLayout fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: ViewportLayout fix |
Date: |
Tue, 06 Dec 2005 14:36:54 +0000 |
Hi,
This is a small fix for the ViewportLayout. As it was before, the layout
manager sets the size for the view to it's minimum when the port is
smaller thant the view. This can't be correct. To be honest, I think it
still isn't correct now, I don't have time to investigate more atm and
it seems to work better than before, so I commit this. For the possible
bug I added a comment.
2005-12-06 Roman Kennke <address@hidden>
* javax/swing/ViewportLayout.java
(layoutContainer): Don't set the view to it's minimumSize when
the
port is larger than the view. Rather it should left at it's
preferred size. Also, I added a comment explaining a possible bug
in this method.
Cheers, Roman
patch.diff
Description: Text Data
- [cp-patches] FYI: ViewportLayout fix,
Roman Kennke <=