[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27956] JSlider getPreferredSize too small when labels enabled
From: |
david dot gilbert at object-refinery dot com |
Subject: |
[Bug swing/27956] JSlider getPreferredSize too small when labels enabled |
Date: |
13 Jun 2006 15:28:17 -0000 |
------- Comment #1 from david dot gilbert at object-refinery dot com
2006-06-13 15:28 -------
I committed a patch that fixes the clipping of the slider thumb.
The positioning of the labels relative to the tick marks could be a more
general problem...if you compare the Swing demo running with GNU Classpath and
Sun's JRE, you'll see other places where the label positioning is a little off.
For example, notice that the labels for JCheckBoxes and JRadioButtons are
drawn a little too high with GNU Classpath. The problem might be in
SwingUtilities.layoutCompoundLabel() although I couldn't find it yet.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27956