Browse Source

代码修改

master
kerry 7 years ago
parent
commit
cf232827fb
  1. 2
      designer_form/src/com/fr/design/widget/ui/designer/FreeButtonDefinePane.java

2
designer_form/src/com/fr/design/widget/ui/designer/FreeButtonDefinePane.java

@ -45,7 +45,7 @@ public class FreeButtonDefinePane extends ButtonDefinePane<FreeButton> {
public FreeButton updateSubButtonPane() { public FreeButton updateSubButtonPane() {
FreeButton freeButton = (FreeButton) creator.toData(); FreeButton freeButton = (FreeButton) creator.toData();
backgroundCompPane.update(freeButton); backgroundCompPane.update(freeButton);
FRFont frFont = freeButton.getFont(); FRFont frFont = freeButton.getFont() == null ? FRFont.getInstance() : freeButton.getFont();
freeButton.setFont(frFontPane.update(frFont)); freeButton.setFont(frFontPane.update(frFont));
return freeButton; return freeButton;
} }

Loading…
Cancel
Save