[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: Scroll pane containing a JList with a preferred size
[cp-patches] Patch: Scroll pane containing a JList with a preferred size.
Thu, 16 Jun 2005 13:01:35 -0400
I fixed these 2 bugs. Attached is a patch file.
Bug #17360: JScrollPane has incorrect size when JList with specified
size is added to it.
Bug #17362: Scrollbars in JScrollPane appear only if the Container
containing JScrollPane is revalidated
* Here are 2 evident problems that appeared prior to me fixing these
-1- The size of the JScrollPane changes if you manually resize the
window. Therfore, when the JScrollPane is revalidate it changes in size.
-2- if you set the preferredsize of the JList to something very large,
the scrollbars are still visible, but you cannot scroll anywhere because
the JList is about the same size as the JScrollPane. Funny, but the
JScrollPane is 3 pixels smaller because of the border, and thats the
reason the scrollbar appears.
2005-06-15 Lillian Angel <address@hidden>
Fixed Bug #17360 and 17362.
(setView): the size of the JScrollPane container
is set to the preferredSize of the view that is added.
Description: Text document
- [cp-patches] Patch: Scroll pane containing a JList with a preferred size.,
Lillian Angel <=