Browse Source

改下实现

release/11.0
obo 1 year ago
parent
commit
b41984c788
  1. 2
      designer-form/src/main/java/com/fr/design/widgettheme/LabelSettingPane.java

2
designer-form/src/main/java/com/fr/design/widgettheme/LabelSettingPane.java

@ -39,7 +39,7 @@ public class LabelSettingPane<T extends Widget> extends BaseStyleSettingPane<T>
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())));
}

Loading…
Cancel
Save