Browse Source

Pull request #1694: CHART-14022 所有可以设置通用格式的面板排布都不对

Merge in DESIGN/design from ~LANLAN/design:release/10.0 to release/10.0

* commit 'a66f27f9866161c0ac4b10eac4808da38c7367fd':
  CHART-14022 所有可以设置通用格式的面板排布都不对
feature/big-screen
Lanlan 4 years ago
parent
commit
d8f38eb999
  1. 4
      designer-base/src/main/java/com/fr/design/gui/style/FormatPane.java

4
designer-base/src/main/java/com/fr/design/gui/style/FormatPane.java

@ -144,7 +144,7 @@ public class FormatPane extends AbstractBasicStylePane implements GlobalNameObse
optionPane.setPreferredSize(new Dimension(0, 0));
optionPane.add(option, "show");
Component[][] components = getComponent(fontPane, centerPane, typePane, optionPane);
Component[][] components = getComponent(fontPane, centerPane, typePane);
this.add(createContentPane(components), BorderLayout.CENTER);
}
@ -158,7 +158,7 @@ public class FormatPane extends AbstractBasicStylePane implements GlobalNameObse
}
protected Component[][] getComponent (JPanel fontPane, JPanel centerPane, JPanel typePane, JPanel optionPane) {
protected Component[][] getComponent (JPanel fontPane, JPanel centerPane, JPanel typePane) {
return new Component[][]{
new Component[]{null, null},
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Report_Base_Format"), SwingConstants.LEFT), typePane},

Loading…
Cancel
Save