Browse Source

Pull request #6474: REPORT-61900 【主题切换】主题管理页面,右下角应该改成关闭按钮,不是完成

Merge in DESIGN/design from ~STARRYI/design:release/11.0 to release/11.0

* commit '0eebd17018f9f2f69ee500f5288cba9ca2860558':
  REPORT-61900 【主题切换】主题管理页面,右下角应该改成关闭按钮,不是完成
bugfix/11.0
starryi 3 years ago
parent
commit
a8dcc978c5
  1. 6
      designer-base/src/main/java/com/fr/design/mainframe/theme/TemplateThemeGridPagesPane.java

6
designer-base/src/main/java/com/fr/design/mainframe/theme/TemplateThemeGridPagesPane.java

@ -139,7 +139,7 @@ public class TemplateThemeGridPagesPane extends JPanel {
public UIButton[] createRightButtons() {
UIButton[] buttons = new UIButton[] {};
buttons = ArrayUtils.addAll(buttons, createExtraButtons());
buttons = ArrayUtils.addAll(buttons, createCompleteButton());
buttons = ArrayUtils.addAll(buttons, createCloseButton());
return buttons;
}
@ -180,8 +180,8 @@ public class TemplateThemeGridPagesPane extends JPanel {
return uiButtonList.toArray(new UIButton[]{});
}
private UIButton createCompleteButton() {
UIButton button = new UIButton(Toolkit.i18nText("Fine-Design_Basic_Template_Theme_Manager_Dialog_Complete"));
private UIButton createCloseButton() {
UIButton button = new UIButton(Toolkit.i18nText("Fine-Design_Basic_Template_Theme_Manager_Dialog_Close"));
button.setName(COMPLETE_BUTTON);
button.addActionListener(new ActionListener() {
@Override

Loading…
Cancel
Save