From f87c982bbee150f4aac4fe3da2d9871f0f6a9086 Mon Sep 17 00:00:00 2001 From: obo Date: Tue, 6 Aug 2024 16:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E5=85=A5-=E6=96=9C=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/cell/editor/BiasTextPainterCellEditor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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