From c3ca08be471cb2fbbae11d5a0060beb2da166266 Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Tue, 24 Dec 2013 10:52:28 +0400 Subject: [PATCH] description font --- .../intellij/ide/projectWizard/ProjectTypeStep.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java b/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java index 769f5a2f91a5..9fcbd21b7771 100644 --- a/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java +++ b/java/idea-ui/src/com/intellij/ide/projectWizard/ProjectTypeStep.java @@ -28,6 +28,8 @@ import com.intellij.openapi.roots.ui.configuration.ModulesProvider; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.util.Comparing; import com.intellij.openapi.util.Disposer; +import com.intellij.openapi.util.SystemInfo; +import com.intellij.openapi.util.text.StringUtil; import com.intellij.platform.ProjectTemplate; import com.intellij.platform.ProjectTemplateEP; import com.intellij.platform.templates.ArchivedProjectTemplate; @@ -334,7 +336,13 @@ public class ProjectTypeStep extends ModuleWizardStep implements Disposable, Act private void updateSelection() { ProjectTemplate template = getSelectedTemplate(); if (template != null) { - myDescription.setText("" + template.getDescription() + ""); + String description = template.getDescription(); + if (StringUtil.isNotEmpty(description)) { + description = "' + description + + ""; + myDescription.setText(description); + } } else { myDescription.setText("");