Browse Source

Merge pull request #662 in DESIGN/design from ~QINGHUI.LIU/design:10.0 to 10.0

* commit '2202ea1564806b2a992cf33c6734480575c64b4f':
  CHART-3472 还原CHART-3252的master分支
10.0
Kara 6 years ago
parent
commit
98295293d0
  1. 10
      designer-chart/src/main/java/com/fr/extended/chart/AbstractExtendedChartReportDataPane.java

10
designer-chart/src/main/java/com/fr/extended/chart/AbstractExtendedChartReportDataPane.java

@ -12,7 +12,7 @@ import javax.swing.BorderFactory;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.SwingConstants; import javax.swing.SwingConstants;
import java.awt.Component; import java.awt.Component;
import java.awt.BorderLayout; import java.awt.FlowLayout;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
@ -54,11 +54,11 @@ public abstract class AbstractExtendedChartReportDataPane<T extends AbstractData
Arrays.fill(rowSize, p); Arrays.fill(rowSize, p);
JPanel panel = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, 24, 6); JPanel panel = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, 24, 6);
panel.setBorder(BorderFactory.createEmptyBorder(0, 20, 0, 8)); panel.setBorder(BorderFactory.createEmptyBorder(0, 20, 0, 15));
this.setLayout(new BorderLayout()); this.setLayout(new FlowLayout());
this.add(panel, BorderLayout.CENTER); this.add(panel);
this.add(addSouthPane(), BorderLayout.SOUTH); this.add(addSouthPane());
} }
protected JPanel addSouthPane() { protected JPanel addSouthPane() {

Loading…
Cancel
Save