Browse Source

REPORT-2897 9.0设计器修改

视觉验收->插入悬浮元素、超级链接弹窗选中状态时字体是白色
master
MoMeak 7 years ago
parent
commit
601ddd6ba3
  1. 1
      designer_base/src/com/fr/design/gui/imenu/UIMenuEastAttrItem.java

1
designer_base/src/com/fr/design/gui/imenu/UIMenuEastAttrItem.java

@ -95,6 +95,7 @@ public class UIMenuEastAttrItem extends JMenuItem {
fm.getAscent() - 1); fm.getAscent() - 1);
} }
} else { } else {
menuItem.setForeground(isArmed() ? Color.white : Color.black);
SwingUtilities2.drawStringUnderlineCharAt(menuItem, g, text, SwingUtilities2.drawStringUnderlineCharAt(menuItem, g, text,
-1, 0, textRect.y + fm.getAscent()); -1, 0, textRect.y + fm.getAscent());
} }

Loading…
Cancel
Save