Browse Source

Pull request #2076: REPORT-36778 【配合平台】版本号规范FR适配任务 去除多余的空格

Merge in DESIGN/design from ~HENRY.WANG/design:release/10.0 to release/10.0

* commit '6a3492cd78745bd6057b2c0c27839f3bff6f4379':
  REPORT-36778 【配合平台】版本号规范FR适配任务 去除多处的空格
  REPORT-36778 【配合平台】版本号规范FR适配任务 去除多处的空格
feature/big-screen
Henry.Wang 4 years ago
parent
commit
f44c2fe467
  1. 7
      designer-base/src/main/java/com/fr/design/actions/help/AboutPane.java

7
designer-base/src/main/java/com/fr/design/actions/help/AboutPane.java

@ -303,12 +303,13 @@ public class AboutPane extends JPanel {
public BoxCenterAlignmentCopyablePane(String title, String copyText, final String[] descriptions) { public BoxCenterAlignmentCopyablePane(String title, String copyText, final String[] descriptions) {
setLayout(FRGUIPaneFactory.createBorderLayout()); setLayout(FRGUIPaneFactory.createBorderLayout());
JPanel centerPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); JPanel centerPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane();
this.label = new UILabel(title); if (StringUtils.isNotEmpty(title)) {
this.label = new UILabel(title);
centerPane.add(label);
}
this.textField = new UILabel(copyText); this.textField = new UILabel(copyText);
textField.setBackground(null); textField.setBackground(null);
textField.setBorder(null); textField.setBorder(null);
centerPane.add(label);
centerPane.add(textField); centerPane.add(textField);
textField.addMouseListener(new MouseAdapter() { textField.addMouseListener(new MouseAdapter() {
@Override @Override

Loading…
Cancel
Save