Browse Source

改个默认颜色,把类中的去掉,不提代码了,就一行

release/11.0
obo 1 year ago
parent
commit
1203dd585a
  1. 3
      designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java

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

@ -32,6 +32,7 @@ import javax.swing.BorderFactory;
import javax.swing.ButtonGroup; import javax.swing.ButtonGroup;
import javax.swing.JPanel; import javax.swing.JPanel;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component; import java.awt.Component;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
@ -284,7 +285,7 @@ public abstract class BaseStyleSettingPane<T extends Widget> extends BasicBeanPa
fontSizePane.setValue(ThemeTextStyle.DEFAULT_FONT_SIZE); fontSizePane.setValue(ThemeTextStyle.DEFAULT_FONT_SIZE);
} }
if (fontColorButton != null) { if (fontColorButton != null) {
fontColorButton.setColor(ThemeTextStyle.DEFAULT_FONT_COLOR); fontColorButton.setColor(Color.BLACK);
} }
if (frFontPane != null) { if (frFontPane != null) {
frFontPane.populateBean(FRFont.getInstance()); frFontPane.populateBean(FRFont.getInstance());

Loading…
Cancel
Save