[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: tree row height default
From: |
Tom Tromey |
Subject: |
Re: [cp-patches] Patch: tree row height default |
Date: |
12 Jul 2005 13:10:07 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Lillian" == Lillian Angel <address@hidden> writes:
Lillian> * javax/swing/plaf/basic/BasicLookAndFeel.java
Lillian> Changed the default row height for the tree.
Lillian> new IconUIResource(new ImageIcon(getClass().getResource(
Lillian> "/gnu/javax/swing/plaf/gtk/icons/TreeOpen.png"))),
Lillian> "Tree.rightChildIndent", new Integer(13),
Lillian> - "Tree.rowHeight", new Integer(16),
Lillian> + "Tree.rowHeight", new Integer(19),
What determines a good default value here?
If it is the size of some icon, perhaps it would be better to get the
value from the icon directly? That way if we ever change the icon we
won't need to update the code.
Tom