Browse Source

REPORT-68161 填报-模板web属性-切换设置时,编辑行背景设置的点击逻辑确认

release/10.0
lucian 3 years ago
parent
commit
b0e298f3cd
  1. 1
      designer-realize/src/main/java/com/fr/design/webattr/WriteToolBarPane.java
  2. 2
      designer-realize/src/main/java/com/fr/design/webattr/WriteWebSettingPane.java

1
designer-realize/src/main/java/com/fr/design/webattr/WriteToolBarPane.java

@ -160,6 +160,7 @@ public class WriteToolBarPane extends AbstractEditToolBarPane {
colorButton.setColor(webWrite.getSelectedColor());
} else {
colorBox.setSelected(false);
colorButton.setEnabled(false);
}
if (webWrite.getSheetPosition() == Constants.TOP) {

2
designer-realize/src/main/java/com/fr/design/webattr/WriteWebSettingPane.java

@ -108,6 +108,7 @@ public class WriteWebSettingPane extends WebSettingPane<WebWrite> {
protected void setDefault() {
super.setDefault();
colorBox.setSelected(false);
colorButton.setEnabled(false);
bottomRadioButton.setSelected(true);
leftRadioButton.setSelected(true);
unloadCheck.setSelected(true);
@ -125,6 +126,7 @@ public class WriteWebSettingPane extends WebSettingPane<WebWrite> {
colorButton.setColor(webWrite.getSelectedColor());
} else {
colorBox.setSelected(false);
colorButton.setEnabled(false);
}
if (webWrite.getSheetPosition() == Constants.TOP) {

Loading…
Cancel
Save