Browse Source

REPORT-57964 【主题切换】纸张背景配置页,字体显示不全

【问题原因】
修改纸张背景界面的尺寸

【改动思路】
同上
research/11.0
Starryi 3 years ago
parent
commit
dfbf72e425
  1. 6
      designer-realize/src/main/java/com/fr/design/report/NewReportBackgroundPane.java

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

@ -171,10 +171,10 @@ public class NewReportBackgroundPane extends BasicPane {
BorderUtils.createTitleBorder("预览", 12), BorderUtils.createTitleBorder("预览", 12),
BorderFactory.createEmptyBorder(5, 5, 4, 5) BorderFactory.createEmptyBorder(5, 5, 4, 5)
)); ));
titledPane.setPreferredSize(new Dimension(397, 502)); titledPane.setPreferredSize(new Dimension(377, 502));
container.add(titledPane, BorderLayout.WEST); container.add(titledPane, BorderLayout.WEST);
titledPane.add(previewPane, BorderLayout.WEST); titledPane.add(previewPane, BorderLayout.WEST);
previewPane.setPreferredSize(new Dimension(387, 480)); previewPane.setPreferredSize(new Dimension(367, 480));
return container; return container;
} }
@ -182,7 +182,7 @@ public class NewReportBackgroundPane extends BasicPane {
private JPanel createRightPane() { private JPanel createRightPane() {
JPanel container = FRGUIPaneFactory.createBorderLayout_S_Pane(); JPanel container = FRGUIPaneFactory.createBorderLayout_S_Pane();
container.setBorder(BorderFactory.createEmptyBorder()); container.setBorder(BorderFactory.createEmptyBorder());
container.setPreferredSize(new Dimension(253, 502)); container.setPreferredSize(new Dimension(273, 502));
container.add(themePane, BorderLayout.NORTH); container.add(themePane, BorderLayout.NORTH);
return container; return container;
} }

Loading…
Cancel
Save