Browse Source

REPORT-58520 FR11-二轮回归-模板-纸张背景-背景设置显示不全

【问题原因】
左侧背景预览面板宽度应自适应

【改动思路】
同上
fix-lag
Starryi 3 years ago
parent
commit
a2c89df2d5
  1. 4
      designer-realize/src/main/java/com/fr/design/report/NewReportBackgroundPane.java

4
designer-realize/src/main/java/com/fr/design/report/NewReportBackgroundPane.java

@ -140,11 +140,11 @@ public class NewReportBackgroundPane extends BasicPane {
} }
}); });
JPanel contentContainer = FRGUIPaneFactory.createBorderLayout_S_Pane(); JPanel contentContainer = new JPanel(new BorderLayout(IntervalConstants.INTERVAL_L6, 0));
contentContainer.setBorder(BorderFactory.createEmptyBorder()); contentContainer.setBorder(BorderFactory.createEmptyBorder());
contentContainer.setBorder(BorderFactory.createEmptyBorder()); contentContainer.setBorder(BorderFactory.createEmptyBorder());
contentContainer.setPreferredSize(new Dimension(600, 540)); contentContainer.setPreferredSize(new Dimension(600, 540));
contentContainer.add(createLeftPane(), BorderLayout.WEST); contentContainer.add(createLeftPane(), BorderLayout.CENTER);
contentContainer.add(createRightPane(), BorderLayout.EAST); contentContainer.add(createRightPane(), BorderLayout.EAST);
addAttributeChangeListener(new AttributeChangeListener() { addAttributeChangeListener(new AttributeChangeListener() {

Loading…
Cancel
Save