Parent Directory | Revision Log | Patch
revision 1.25 by langel, Mon Jul 11 19:20:46 2005 UTC | revision 1.26 by langel, Tue Jul 12 15:23:11 2005 UTC | |
---|---|---|
# | Line 2489 public class BasicTreeUI | Line 2489 public class BasicTreeUI |
2489 | Font f = tree.getFont(); | Font f = tree.getFont(); |
2490 | FontMetrics fm = tree.getToolkit().getFontMetrics(tree.getFont()); | FontMetrics fm = tree.getToolkit().getFontMetrics(tree.getFont()); |
2491 | ||
// add 22 to width for icon, FIXME later | ||
2492 | return new Rectangle(x, y, SwingUtilities.computeStringWidth(fm, s) | return new Rectangle(x, y, SwingUtilities.computeStringWidth(fm, s) |
2493 | + 22, fm.getHeight()); | + 22, fm.getHeight()); |
2494 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |