Browse Source

消除警告

feature/x
obo 11 months ago
parent
commit
29bac90be4
  1. 2
      designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java
  2. 8
      designer-realize/src/main/java/com/fr/design/webattr/FToolBar.java

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

@ -299,6 +299,6 @@ public abstract class BaseStyleSettingPane<T extends Widget> extends BasicBeanPa
labelMap.put(StyleSetting.LINE_TYPE, new UILabel(Toolkit.i18nText("Fine-Design_Widget_Theme_Border_Line"))); labelMap.put(StyleSetting.LINE_TYPE, new UILabel(Toolkit.i18nText("Fine-Design_Widget_Theme_Border_Line")));
labelMap.put(StyleSetting.BORDER_RADIUS, new UILabel(Toolkit.i18nText("Fine-Design_Widget_Theme_Border_Radius"))); labelMap.put(StyleSetting.BORDER_RADIUS, new UILabel(Toolkit.i18nText("Fine-Design_Widget_Theme_Border_Radius")));
labelMap.put(StyleSetting.BTN_BACKGROUND, new UILabel(Toolkit.i18nText("Fine-Design_Theme_Widget_Background"))); labelMap.put(StyleSetting.BTN_BACKGROUND, new UILabel(Toolkit.i18nText("Fine-Design_Theme_Widget_Background")));
labelMap.put(StyleSetting.SELECT_COLOR, new UILabel(Toolkit.i18nText("下拉面板色"))); labelMap.put(StyleSetting.SELECT_COLOR, new UILabel(Toolkit.i18nText("Fine-Design_Widget_Background_Select_Box")));
} }
} }

8
designer-realize/src/main/java/com/fr/design/webattr/FToolBar.java

@ -12,7 +12,7 @@ public class FToolBar {
private Background background = null; private Background background = null;
private boolean isDefault = true; private boolean isDefault = true;
private boolean isBgColorLight = true; private boolean buttonBgColorLight = true;
public List<ToolBarButton> getButtonlist() { public List<ToolBarButton> getButtonlist() {
return buttonlist; return buttonlist;
} }
@ -54,11 +54,11 @@ public class FToolBar {
} }
public boolean isBgColorLight() { public boolean isBgColorLight() {
return isBgColorLight; return buttonBgColorLight;
} }
public void setBgColorLight(boolean bgColorLight) { public void setBgColorLight(boolean bgColorLight) {
this.isBgColorLight = bgColorLight; this.buttonBgColorLight = bgColorLight;
} }
public ToolBar getToolBar() { public ToolBar getToolBar() {
@ -69,7 +69,7 @@ public class FToolBar {
ToolBar toolBar = new ToolBar(n); ToolBar toolBar = new ToolBar(n);
toolBar.setBackground(this.background); toolBar.setBackground(this.background);
toolBar.setDefault(this.isDefault); toolBar.setDefault(this.isDefault);
toolBar.setButtonBgColorLight(this.isBgColorLight); toolBar.setButtonBgColorLight(this.buttonBgColorLight);
return toolBar; return toolBar;
} }
} }
Loading…
Cancel
Save