Browse Source

Merge pull request #8320 in DESIGN/design from feature/10.0 to feature/big-screen

* commit 'b7114f492bdce2de63d930b8b6edb606c1dbe883':
  REPORT-68161 填报-模板web属性-切换设置时,编辑行背景设置的点击逻辑确认
  REPORT-68161 填报-模板web属性-切换设置时,编辑行背景设置的点击逻辑确认
  REPORT-48999 填报-填报属性设置-填报属性快捷设置远程设计修改无效
feature/big-screen
superman 3 years ago
parent
commit
f0be01427c
  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()); colorButton.setColor(webWrite.getSelectedColor());
} else { } else {
colorBox.setSelected(false); colorBox.setSelected(false);
colorButton.setEnabled(false);
} }
if (webWrite.getSheetPosition() == Constants.TOP) { 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() { protected void setDefault() {
super.setDefault(); super.setDefault();
colorBox.setSelected(false); colorBox.setSelected(false);
colorButton.setEnabled(false);
bottomRadioButton.setSelected(true); bottomRadioButton.setSelected(true);
leftRadioButton.setSelected(true); leftRadioButton.setSelected(true);
unloadCheck.setSelected(true); unloadCheck.setSelected(true);
@ -125,6 +126,7 @@ public class WriteWebSettingPane extends WebSettingPane<WebWrite> {
colorButton.setColor(webWrite.getSelectedColor()); colorButton.setColor(webWrite.getSelectedColor());
} else { } else {
colorBox.setSelected(false); colorBox.setSelected(false);
colorButton.setEnabled(false);
} }
if (webWrite.getSheetPosition() == Constants.TOP) { if (webWrite.getSheetPosition() == Constants.TOP) {

Loading…
Cancel
Save