Browse Source

REPORT-3163 合作开发9.0设计器=>弹窗=》超级链接=>邮件

master
plough 7 years ago
parent
commit
75be4229f6
  1. 3
      designer_base/src/com/fr/design/gui/itextfield/UITextFieldUI.java
  2. 5
      designer_base/src/com/fr/design/javascript/EmailPane.java
  3. 2
      designer_base/src/com/fr/design/utils/gui/GUIPaintUtils.java

3
designer_base/src/com/fr/design/gui/itextfield/UITextFieldUI.java

@ -51,9 +51,6 @@ public class UITextFieldUI extends BasicTextFieldUI {
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
g2d.clip(roundShape);
g2d.setColor(backgroundColor);
if(!textField.isEnabled()){
g2d.setColor(UIConstants.NORMAL_BACKGROUND);
}
g2d.fillRoundRect(1, 1, width - 2, height - 2, 0, 0);
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_OFF);
}

5
designer_base/src/com/fr/design/javascript/EmailPane.java

@ -2,6 +2,7 @@ package com.fr.design.javascript;
import com.fr.base.ConfigManager;
import com.fr.design.beans.FurtherBasicBeanPane;
import com.fr.design.constants.UIConstants;
import com.fr.design.gui.icheckbox.UICheckBox;
import com.fr.design.gui.ilable.UILabel;
import com.fr.design.gui.itextfield.UITextField;
@ -83,8 +84,8 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> {
tipsPane1.setText(valid ? StringUtils.BLANK : Inter.getLocText("FR-Designer_EmailPane-warnings"));
centerPane.setEnabled(valid);
mainTextEditor.setEnabled(valid);
mainTextEditor.setBackground(valid ? Color.WHITE : new Color(244, 243, 233));
mainTextEditor.setBorder(BorderFactory.createLineBorder(valid ? new Color(128, 152, 186) : new Color(201, 198,184)));
mainTextEditor.setBackground(valid ? Color.WHITE : UIConstants.DEFAULT_BG_RULER);
mainTextEditor.setBorder(BorderFactory.createLineBorder(valid ? new Color(128, 152, 186) : UIConstants.TITLED_BORDER_COLOR));
maitoEditor.setEnabled(valid);
ccEditor.setEnabled(valid);
bccEditor.setEnabled(valid);

2
designer_base/src/com/fr/design/utils/gui/GUIPaintUtils.java

@ -19,7 +19,7 @@ public class GUIPaintUtils {
if (BaseUtils.isAuthorityEditing() && isAuthorityEdited) {
g2d.setColor(UIConstants.AUTHORITY_LINE_COLOR);
} else {
g2d.setColor(UIConstants.LINE_COLOR);
g2d.setColor(UIConstants.TITLED_BORDER_COLOR);
}
if (isRound) {
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);

Loading…
Cancel
Save