Browse Source

插入-斜线

persist/11.0-arabic
obo 4 months ago
parent
commit
f87c982bbe
  1. 4
      designer-realize/src/main/java/com/fr/design/cell/editor/BiasTextPainterCellEditor.java

4
designer-realize/src/main/java/com/fr/design/cell/editor/BiasTextPainterCellEditor.java

@ -3,6 +3,7 @@
*/ */
package com.fr.design.cell.editor; package com.fr.design.cell.editor;
import com.fr.base.i18n.BidiUtils;
import com.fr.design.dialog.BasicPane; import com.fr.design.dialog.BasicPane;
import com.fr.design.dialog.DialogActionAdapter; import com.fr.design.dialog.DialogActionAdapter;
import com.fr.design.gui.ibutton.UIRadioButton; import com.fr.design.gui.ibutton.UIRadioButton;
@ -122,7 +123,7 @@ public class BiasTextPainterCellEditor extends AbstractCellEditor {
centerPane.setBorder(BorderFactory.createEmptyBorder(20, 0, 0, 0)); centerPane.setBorder(BorderFactory.createEmptyBorder(20, 0, 0, 0));
centerPane.add(textPane, BorderLayout.CENTER); centerPane.add(textPane, BorderLayout.CENTER);
UILabel formulaLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Slope_Line_Tip", "'|'", "Season|Product")); UILabel formulaLabel = new UILabel(BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Slope_Line_Tip"), "'|'", "Season|Product"));
textPane.add(formulaLabel, BorderLayout.NORTH); textPane.add(formulaLabel, BorderLayout.NORTH);
formulaLabel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 0)); formulaLabel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 0));
@ -150,6 +151,7 @@ public class BiasTextPainterCellEditor extends AbstractCellEditor {
choicePane.add(choice2); choicePane.add(choice2);
centerPane.add(choicePane, BorderLayout.SOUTH); centerPane.add(choicePane, BorderLayout.SOUTH);
BidiUtils.applyOrientationByLocale(this);
} }
@Override @Override

Loading…
Cancel
Save