diff --git a/designer-realize/src/main/java/com/fr/design/cell/editor/BiasTextPainterCellEditor.java b/designer-realize/src/main/java/com/fr/design/cell/editor/BiasTextPainterCellEditor.java index f3cea39410..b9f9cc819c 100644 --- a/designer-realize/src/main/java/com/fr/design/cell/editor/BiasTextPainterCellEditor.java +++ b/designer-realize/src/main/java/com/fr/design/cell/editor/BiasTextPainterCellEditor.java @@ -3,6 +3,7 @@ */ package com.fr.design.cell.editor; +import com.fr.base.i18n.BidiUtils; import com.fr.design.dialog.BasicPane; import com.fr.design.dialog.DialogActionAdapter; 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.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); formulaLabel.setBorder(BorderFactory.createEmptyBorder(2, 2, 2, 0)); @@ -150,6 +151,7 @@ public class BiasTextPainterCellEditor extends AbstractCellEditor { choicePane.add(choice2); centerPane.add(choicePane, BorderLayout.SOUTH); + BidiUtils.applyOrientationByLocale(this); } @Override