diff --git a/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartFontPane.java b/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartFontPane.java index fb1e3660b9..397f845f36 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartFontPane.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/theme/edit/chart/ChartFontPane.java @@ -2,6 +2,7 @@ package com.fr.design.mainframe.theme.edit.chart; import com.fr.base.BaseUtils; import com.fr.base.FRContext; +import com.fr.base.i18n.BidiUtils; import com.fr.design.constants.LayoutConstants; import com.fr.design.dialog.BasicPane; import com.fr.design.event.UIObserverListener; @@ -83,7 +84,7 @@ public class ChartFontPane extends BasicPane { double p = TableLayout.PREFERRED; double[] rows = {p, p, p}; double[] columnSize = {labelWidth, totalWidth}; - UILabel text = new UILabel(getUILabelText(), SwingConstants.LEFT); + UILabel text = new UILabel(getUILabelText(), BidiUtils.rtl() ? SwingConstants.RIGHT : SwingConstants.LEFT); Component[][] components = { new Component[]{null, null}, new Component[]{text, fontNameComboBox},