Browse Source

REPORT-111723 【控件显示增强】删除当前模板主题,按钮和标签控件的字体大小异常

release/11.0
obo 1 year ago
parent
commit
5c71eb2437
  1. 6
      designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java

6
designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java

@ -217,7 +217,7 @@ public abstract class BaseStyleSettingPane<T extends Widget> extends BasicBeanPa
setLineComboBox(widgetStyle);
setBorderRadiusSpinner(widgetStyle);
setTextStylePane(widgetStyle);
setFrFontPane();
setFrFontPane(widgetStyle);
setButtonStyleDefinedPane(widgetStyle);
setSelectBgColor(widgetStyle);
}
@ -257,9 +257,9 @@ public abstract class BaseStyleSettingPane<T extends Widget> extends BasicBeanPa
this.fontColorButton.setColor(textStyle.getFontColor());
}
private void setFrFontPane() {
private void setFrFontPane(ThemedWidgetStyle widgetStyle) {
if (frFontPane != null) {
frFontPane.populateBean(FRFont.getInstance());
frFontPane.populateBean(widgetStyle.getFontStyle().getFont());
}
}

Loading…
Cancel
Save