From 86da0053f0b7e563388cc06fff2edd90672a5308 Mon Sep 17 00:00:00 2001 From: obo Date: Mon, 19 Aug 2024 15:24:34 +0800 Subject: [PATCH] =?UTF-8?q?INO-21074=20=E5=85=B3=E4=BA=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/design/actions/help/AboutPane.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/actions/help/AboutPane.java b/designer-base/src/main/java/com/fr/design/actions/help/AboutPane.java index dbb7798f3b..2a349b911d 100644 --- a/designer-base/src/main/java/com/fr/design/actions/help/AboutPane.java +++ b/designer-base/src/main/java/com/fr/design/actions/help/AboutPane.java @@ -5,6 +5,7 @@ package com.fr.design.actions.help; import com.fr.base.FRContext; import com.fr.base.GraphHelper; +import com.fr.base.i18n.BidiUtils; import com.fr.design.DesignerEnvManager; import com.fr.design.gui.ilable.ActionLabel; import com.fr.design.gui.ilable.BoldFontTextLabel; @@ -225,7 +226,7 @@ public class AboutPane extends JPanel { JPanel panel = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); panel.add(new UILabel(desc)); panel.add(emailLabel); - return panel; + return BidiUtils.applyOrientationByLocale(panel); } private JPanel getURLActionPane(final String desc, final String url) { @@ -245,7 +246,7 @@ public class AboutPane extends JPanel { panel.add(new UILabel(desc)); panel.add(actionLabel); - return panel; + return BidiUtils.applyOrientationByLocale(panel); } class UserLabel extends BoldFontTextLabel { @@ -283,6 +284,7 @@ public class AboutPane extends JPanel { this.textLabel = label; centerPane.add(textLabel); + BidiUtils.applyOrientationByLocale(centerPane); } public void setFont(Font font) { @@ -328,7 +330,7 @@ public class AboutPane extends JPanel { lastLabel.setForeground(Color.lightGray); centerPane.add(lastLabel); - add(centerPane, BorderLayout.CENTER); + add(BidiUtils.applyOrientationByLocale(centerPane), BorderLayout.CENTER); } public void setFont(Font font) {