Browse Source

REPORT-105705 【FR国际化】文字显示不全,不更改布局,添加tooltips

newui
obo 1 year ago
parent
commit
7ae994270b
  1. 1
      designer-form/src/main/java/com/fr/design/mainframe/share/group/ui/GroupFileDialog.java
  2. 1
      designer-form/src/main/java/com/fr/design/mainframe/share/ui/widgetfilter/FilterConfigPane.java

1
designer-form/src/main/java/com/fr/design/mainframe/share/group/ui/GroupFileDialog.java

@ -123,6 +123,7 @@ abstract public class GroupFileDialog extends BaseGroupDialog {
private UILabel creteNewNameLabel() {
// 输入框前提示
UILabel newNameLabel = new UILabel(Toolkit.i18nText("Fine-Design_Share_Group_Enter_New_Folder_Name"));
newNameLabel.setToolTipText(Toolkit.i18nText("Fine-Design_Share_Group_Enter_New_Folder_Name"));
newNameLabel.setHorizontalAlignment(SwingConstants.RIGHT);
newNameLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 10));
newNameLabel.setPreferredSize(new Dimension(84, 16));

1
designer-form/src/main/java/com/fr/design/mainframe/share/ui/widgetfilter/FilterConfigPane.java

@ -149,6 +149,7 @@ public abstract class FilterConfigPane extends JPanel {
private FilterCheckBox createCheckBox(WidgetFilterInfo filterInfo) {
final FilterCheckBox checkBox = new FilterCheckBox(filterInfo.getName(), filterInfo);
checkBox.setToolTipText(filterInfo.getName());
checkBox.setBackground(Color.WHITE);
checkBox.addItemListener(new ItemListener() {
@Override

Loading…
Cancel
Save