Browse Source

CHART-4177 交互 调整组件边距

bugfix/10.0
Wim.Zhai 6 years ago
parent
commit
ff97775129
  1. 7
      designer-chart/src/main/java/com/fr/extended/chart/ExtendedOtherPane.java

7
designer-chart/src/main/java/com/fr/extended/chart/ExtendedOtherPane.java

@ -11,6 +11,7 @@ import com.fr.design.mainframe.chart.AbstractChartAttrPane;
import com.fr.design.mainframe.chart.PaneTitleConstants; import com.fr.design.mainframe.chart.PaneTitleConstants;
import com.fr.van.chart.designer.TableLayout4VanChartHelper; import com.fr.van.chart.designer.TableLayout4VanChartHelper;
import javax.swing.BorderFactory;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener; import javax.swing.event.ChangeListener;
@ -138,4 +139,10 @@ public class ExtendedOtherPane<T extends AbstractChart> extends AbstractChartAtt
return PaneTitleConstants.CHART_OTHER_TITLE; return PaneTitleConstants.CHART_OTHER_TITLE;
} }
@Override
protected void initContentPane() {
leftContentPane = createContentPane();
leftContentPane.setBorder(BorderFactory.createMatteBorder(10, 3, 0, 10, original));
this.add(leftContentPane, BorderLayout.CENTER);
}
} }

Loading…
Cancel
Save