Browse Source

REPORT-91657 设计器单元格属性-其他面板文本显示截断

【问题原因】不同语言显示长度不同
【改动思路】选项面板水平布局修改为垂直布局
release/11.0
Leo.Qin 2 years ago
parent
commit
2acc1cc5e3
  1. 11
      designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellOtherSetPane.java

11
designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellOtherSetPane.java

@ -48,7 +48,6 @@ import java.awt.CardLayout;
import java.awt.Color; import java.awt.Color;
import java.awt.Component; import java.awt.Component;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Insets; import java.awt.Insets;
import java.awt.Rectangle; import java.awt.Rectangle;
import java.awt.event.ItemEvent; import java.awt.event.ItemEvent;
@ -169,7 +168,7 @@ public class CellOtherSetPane extends AbstractCellAttrPane {
groupsPane = new CellDesensitizationGroupsPane(this); groupsPane = new CellDesensitizationGroupsPane(this);
JPanel contentPane = FRGUIPaneFactory.createVerticalFlowLayout_F_Pane(true, VerticalFlowLayout.TOP, 0, 0, true); JPanel contentPane = FRGUIPaneFactory.createVerticalFlowLayout_F_Pane(true, VerticalFlowLayout.TOP, 0, 10, true);
contentPane.add(scopePane); contentPane.add(scopePane);
contentPane.add(hyperlink); contentPane.add(hyperlink);
contentPane.add(groupsPane); contentPane.add(groupsPane);
@ -195,10 +194,10 @@ public class CellOtherSetPane extends AbstractCellAttrPane {
} }
JPanel head = new JPanel(); JPanel head = new JPanel();
head.setLayout(new FlowLayout(FlowLayout.LEFT)); head.setLayout(new BorderLayout());
head.add(scopeLabel); head.add(scopeLabel, BorderLayout.NORTH);
head.add(exportButton); head.add(exportButton, BorderLayout.CENTER);
head.add(previewAndExportButton); head.add(previewAndExportButton, BorderLayout.SOUTH);
return head; return head;
} }

Loading…
Cancel
Save