From b41984c788d114b14ea9645f99f1bf803380b7bd Mon Sep 17 00:00:00 2001 From: obo Date: Wed, 27 Dec 2023 09:45:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=8B=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/design/widgettheme/LabelSettingPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-form/src/main/java/com/fr/design/widgettheme/LabelSettingPane.java b/designer-form/src/main/java/com/fr/design/widgettheme/LabelSettingPane.java index 8edba113cb..4146ef6842 100644 --- a/designer-form/src/main/java/com/fr/design/widgettheme/LabelSettingPane.java +++ b/designer-form/src/main/java/com/fr/design/widgettheme/LabelSettingPane.java @@ -39,7 +39,7 @@ public class LabelSettingPane extends BaseStyleSettingPane if (widgetTheme == null) { widgetTheme = new LabelTheme(); Label label = (Label) t; - if (!FRFont.getInstance().equals(label.getFont())) { + if (!label.getDefaultFont().equals(label.getFont())) { widgetTheme.setFollowTheme(false); widgetTheme.setFontStyle(new FontStyle((label.getFont()))); }