You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
512 B
26 lines
512 B
package com.fr.design.gui.icombobox; |
|
|
|
import java.awt.Dimension; |
|
|
|
import javax.swing.DefaultListCellRenderer; |
|
|
|
import com.fine.theme.utils.FineUIScale; |
|
|
|
/** |
|
* |
|
* @author zhou |
|
* @since 2012-5-18上午11:18:30 |
|
*/ |
|
public class UIComboBoxRenderer extends DefaultListCellRenderer { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
public UIComboBoxRenderer() { |
|
super(); |
|
} |
|
|
|
@Override |
|
public Dimension getPreferredSize() { |
|
return new Dimension(super.getPreferredSize().width, FineUIScale.scale(24)); |
|
} |
|
} |