Browse Source

REPORT-135889 fix:NewUI自查问题修复

fbp/release
Levy.Xie-解安森 2 months ago
parent
commit
5ca4e4f185
  1. 17
      designer-realize/src/main/java/com/fr/design/widget/ui/UserEditorDefinePane.java

17
designer-realize/src/main/java/com/fr/design/widget/ui/UserEditorDefinePane.java

@ -1,13 +1,12 @@
package com.fr.design.widget.ui;
import com.fr.design.gui.ilable.UILabel;
import com.fine.theme.utils.FineUIUtils;
import com.fr.design.i18n.Toolkit;
import com.fr.design.layout.FRGUIPaneFactory;
import com.fr.design.utils.DesignUtils;
import com.fr.form.ui.NameWidget;
import javax.swing.SwingConstants;
import javax.swing.JTextArea;
import java.awt.BorderLayout;
import java.awt.Font;
public class UserEditorDefinePane extends AbstractDataModify<NameWidget> {
private NameWidget nWidget;
@ -18,13 +17,9 @@ public class UserEditorDefinePane extends AbstractDataModify<NameWidget> {
private void initComponents() {
this.setLayout(FRGUIPaneFactory.createBorderLayout());
UILabel infoLabel = new UILabel();
infoLabel.setFont(DesignUtils.getDefaultGUIFont().applySize(24).applyStyle(Font.BOLD));
infoLabel.setText(com.fr.design.i18n.Toolkit.i18nText(
"Fine-Design_Report_Widget_User_Defined_Editor") + ".");
infoLabel.setHorizontalAlignment(SwingConstants.CENTER);
this.add(infoLabel, BorderLayout.CENTER);
JTextArea label = FineUIUtils.createAutoWrapTipLabel(Toolkit.i18nText(
"Fine-Design_Report_Widget_User_Defined_Editor"));
this.add(label, BorderLayout.CENTER);
}
@Override

Loading…
Cancel
Save