|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.van.chart.designer.type; |
|
|
|
|
|
|
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
|
import com.fr.base.chart.chartdata.TopDefinitionProvider; |
|
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
@ -62,7 +63,7 @@ public abstract class AbstractVanChartTypePane extends AbstractChartTypePane<Van
|
|
|
|
|
buttonPane.setLayout(new BorderLayout()); |
|
|
|
|
if (ChartTypeManager.AUTO_CHART) { |
|
|
|
|
autoButton = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Auto_Recommended_Chart"), |
|
|
|
|
IconUtils.readIcon("/com/fr/design/images/m_insert/auto_chart_normal.svg")) { |
|
|
|
|
new LazyIcon("auto_chart")) { |
|
|
|
|
@Override |
|
|
|
|
public Dimension getPreferredSize() { |
|
|
|
|
return new Dimension((int) super.getPreferredSize().getWidth(), 25); |
|
|
|
|