Browse Source

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

Merge in DESIGN/design from ~LEO.QIN/design:release/11.0 to release/11.0

* commit '2acc1cc5e3b41a8560aa0c96830500631ff7706e':
  REPORT-91657 设计器单元格属性-其他面板文本显示截断 【问题原因】不同语言显示长度不同 【改动思路】选项面板水平布局修改为垂直布局
release/11.0
Leo.Qin-覃宇攀 2 years ago
parent
commit
1e14ffd729
  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.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.event.ItemEvent;
@ -169,7 +168,7 @@ public class CellOtherSetPane extends AbstractCellAttrPane {
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(hyperlink);
contentPane.add(groupsPane);
@ -195,10 +194,10 @@ public class CellOtherSetPane extends AbstractCellAttrPane {
}
JPanel head = new JPanel();
head.setLayout(new FlowLayout(FlowLayout.LEFT));
head.add(scopeLabel);
head.add(exportButton);
head.add(previewAndExportButton);
head.setLayout(new BorderLayout());
head.add(scopeLabel, BorderLayout.NORTH);
head.add(exportButton, BorderLayout.CENTER);
head.add(previewAndExportButton, BorderLayout.SOUTH);
return head;
}

Loading…
Cancel
Save