|
|
@ -29,11 +29,10 @@ public abstract class AbstractChartStylePane extends BasicPane { |
|
|
|
|
|
|
|
|
|
|
|
protected void initPane() { |
|
|
|
protected void initPane() { |
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
//obo: 75 -> 90 不然英文放不下
|
|
|
|
double labelWidth = 90; |
|
|
|
double e1 = 90; |
|
|
|
double totalWidth = 155; |
|
|
|
double e = 155; |
|
|
|
|
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double[] columnSize = {e1, e}; |
|
|
|
double[] columnSize = {labelWidth, totalWidth}; |
|
|
|
JPanel gapTableLayoutPane = TableLayoutHelper.createGapTableLayoutPane(getComponent(), getRows(p), columnSize, 5, LayoutConstants.VGAP_LARGE); |
|
|
|
JPanel gapTableLayoutPane = TableLayoutHelper.createGapTableLayoutPane(getComponent(), getRows(p), columnSize, 5, LayoutConstants.VGAP_LARGE); |
|
|
|
gapTableLayoutPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
|
gapTableLayoutPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
|
UIScrollPane rightTopPane = new UIScrollPane(gapTableLayoutPane); |
|
|
|
UIScrollPane rightTopPane = new UIScrollPane(gapTableLayoutPane); |
|
|
|