Browse Source

REPORT-3738 [9.0一轮回归]样式中单元格颜色下拉框点击异常

master
MoMeak 7 years ago
parent
commit
8c7e35b81e
  1. 3
      designer_base/src/com/fr/design/gui/itextfield/UITextFieldUI.java
  2. 2
      designer_base/src/com/fr/design/utils/gui/GUIPaintUtils.java

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

@ -67,8 +67,7 @@ public class UITextFieldUI extends BasicTextFieldUI {
g2d.setColor(UIConstants.TEXT_FILED_BORDER_SELECTED);
g2d.drawRect(0, 0, width - 1, height - 1);
} else {
g2d.setColor(UIConstants.POP_DIALOG_BORDER);
g2d.drawRect(0, 0, width - 1, height - 1);
GUIPaintUtils.drawBorder(g2d, 0, 0, width, height, isRound, rectDirection);
}
}

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.TITLED_BORDER_COLOR);
g2d.setColor(UIConstants.POP_DIALOG_BORDER);
}
if (isRound) {
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);

Loading…
Cancel
Save