IDEA-153807 Welcome screen notifications

This commit is contained in:
Alexander Lobas
2016-04-12 22:39:54 +03:00
parent 452b8bcbcb
commit db9b2f8f82
@@ -192,7 +192,7 @@ public class IdeNotificationArea extends JLabel implements CustomStatusBarWidget
myComponent = component;
myTextColor = textColor;
myFont = new Font(NotificationsUtil.getFontName(), Font.BOLD, 9);
myWidth = myComponent.getFontMetrics(myFont).stringWidth(myStr) + 1;
myWidth = myComponent.getFontMetrics(myFont).stringWidth(myStr);
}
@Override