Browse Source

调整间距

master
mengao 7 years ago
parent
commit
e4d72a09aa
  1. 2
      designer_chart/src/com/fr/plugin/chart/designer/TableLayout4VanChartHelper.java
  2. 4
      designer_chart/src/com/fr/plugin/chart/map/VanChartMapSeriesPane.java

2
designer_chart/src/com/fr/plugin/chart/designer/TableLayout4VanChartHelper.java

@ -22,7 +22,7 @@ public class TableLayout4VanChartHelper {
public static final double EDIT_AREA_WIDTH =155; public static final double EDIT_AREA_WIDTH =155;
public static final double SECOND_EDIT_AREA_WIDTH =143; public static final double SECOND_EDIT_AREA_WIDTH =143;
public static final int COMPONENT_INTERVAL =12; public static final int COMPONENT_INTERVAL =12;
public static final Border SECOND_EDIT_AREA_Border = BorderFactory.createEmptyBorder(0,12,0,0); public static final Border SECOND_EDIT_AREA_BORDER = BorderFactory.createEmptyBorder(0,12,0,0);

4
designer_chart/src/com/fr/plugin/chart/map/VanChartMapSeriesPane.java

@ -252,7 +252,7 @@ public class VanChartMapSeriesPane extends VanChartAbstractPlotSeriesPane {
markerTypeCom = new UIComboBox(MARKER_TYPES); markerTypeCom = new UIComboBox(MARKER_TYPES);
commonMarkerPane = new VanChartMapScatterMarkerPane(); commonMarkerPane = new VanChartMapScatterMarkerPane();
commonMarkerPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_Border); commonMarkerPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER);
bubblePane = new VanChartBubblePane(){ bubblePane = new VanChartBubblePane(){
protected JPanel getContentPane () { protected JPanel getContentPane () {
double p = TableLayout.PREFERRED; double p = TableLayout.PREFERRED;
@ -262,7 +262,7 @@ public class VanChartMapSeriesPane extends VanChartAbstractPlotSeriesPane {
double[] col = {f, e}; double[] col = {f, e};
JPanel panel = TableLayoutHelper.createTableLayoutPane(getComponent(), row, col); JPanel panel = TableLayoutHelper.createTableLayoutPane(getComponent(), row, col);
panel.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_Border); panel.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER);
return panel; return panel;
} }
}; };

Loading…
Cancel
Save