|
|
|
@ -110,9 +110,9 @@ public class AutoChartTypePane extends ChartWizardPane implements CallbackEvent
|
|
|
|
|
@Override |
|
|
|
|
public Dimension getPreferredSize() { |
|
|
|
|
// 这里大小设计要和TableDataComboBox保持一致,不然两个多选框会有大小差异
|
|
|
|
|
int renderFix = FineUIScale.scale(5); |
|
|
|
|
int comboWidth = FineUIScale.scale(super.getPreferredSize().width); |
|
|
|
|
int comboHeight = FineUIUtils.getAndScaleInt("ComboBox.comboHeight", 24); |
|
|
|
|
return new Dimension(super.getPreferredSize().width + renderFix, comboHeight); |
|
|
|
|
return new Dimension(comboWidth, comboHeight); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|