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()))); }