From f5d4c81dfcdd7f760194c22f6d2a347828cee4ba Mon Sep 17 00:00:00 2001 From: "Liana.Bakradze" Date: Tue, 6 Jun 2017 12:12:00 +0300 Subject: [PATCH] EDU-970 Unreadable text in Add/Edit Answer placeholder dialog window --- .../edu/learning/ui/CCCreateAnswerPlaceholderPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java b/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java index b93c6774ced0..5dd63e2c5943 100644 --- a/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java +++ b/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java @@ -58,7 +58,8 @@ public class CCCreateAnswerPlaceholderPanel { myHintsPanel.setBorder(BorderFactory.createLineBorder(JBColor.border())); ((GridLayoutManager)myHintsPanel.getLayout()).setHGap(1); - myHintTextArea.setFont(myPlaceholderTextArea.getFont()); + myHintTextArea.setFont(UIUtil.getLabelFont()); + myPlaceholderTextArea.setFont(UIUtil.getLabelFont()); myHintTextArea.addFocusListener(createFocusListenerToSetDefaultHintText()); actionsPanel.add(createHintToolbarComponent(), BorderLayout.WEST);