diff --git a/designer_base/src/com/fr/design/gui/imenu/UIMenuEastAttrItem.java b/designer_base/src/com/fr/design/gui/imenu/UIMenuEastAttrItem.java index 442464c61..0df132caf 100644 --- a/designer_base/src/com/fr/design/gui/imenu/UIMenuEastAttrItem.java +++ b/designer_base/src/com/fr/design/gui/imenu/UIMenuEastAttrItem.java @@ -95,6 +95,7 @@ public class UIMenuEastAttrItem extends JMenuItem { fm.getAscent() - 1); } } else { + menuItem.setForeground(isArmed() ? Color.white : Color.black); SwingUtilities2.drawStringUnderlineCharAt(menuItem, g, text, -1, 0, textRect.y + fm.getAscent()); } diff --git a/designer_base/src/com/fr/design/gui/style/FRFontPane.java b/designer_base/src/com/fr/design/gui/style/FRFontPane.java index 6e80c2d7f..6aa5338ae 100644 --- a/designer_base/src/com/fr/design/gui/style/FRFontPane.java +++ b/designer_base/src/com/fr/design/gui/style/FRFontPane.java @@ -180,6 +180,7 @@ public class FRFontPane extends AbstractBasicStylePane implements GlobalNameObse if (superPane.isSelected() && !isSuper) { frFont = frFont.applySuperscript(true); frFont = frFont.applySubscript(false); + this.subPane.setSelected(false); } else if (!superPane.isSelected() && isSuper) { frFont = frFont.applySuperscript(false); } @@ -188,6 +189,7 @@ public class FRFontPane extends AbstractBasicStylePane implements GlobalNameObse if (subPane.isSelected() && !isSub) { frFont = frFont.applySubscript(true); frFont = frFont.applySuperscript(false); + this.superPane.setSelected(false); } else if (!subPane.isSelected() && isSub) { frFont = frFont.applySubscript(false); }