WEB-23497 nodejs "available packages" UI doesn't support high dpi
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Wed, 28 Sep 2016 14:23:50 +0000 (17:23 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Wed, 28 Sep 2016 14:23:50 +0000 (17:23 +0300)
platform/lang-impl/src/com/intellij/webcore/packaging/ManagePackagesDialog.form
platform/lang-impl/src/com/intellij/webcore/packaging/ManagePackagesDialog.java

index 4f42e77828fb8c8b4ac80321518fca27341ab366..f7f02589ed03660b6f1efa08774502ff9071ea7f 100644 (file)
@@ -61,7 +61,7 @@
                     </properties>
                     <border type="none"/>
                     <children>
                     </properties>
                     <border type="none"/>
                     <children>
-                      <component id="db08a" class="javax.swing.JEditorPane" binding="myDescriptionTextArea">
+                      <component id="db08a" class="javax.swing.JEditorPane" binding="myDescriptionTextArea" custom-create="true">
                         <constraints/>
                         <properties>
                           <contentType value="text/html"/>
                         <constraints/>
                         <properties>
                           <contentType value="text/html"/>
index 59695873a77aa3108d6899c6c5c5af8338a45ea4..5961f6c3b86edf4ee4d60f7b2884bb7878a89d54 100644 (file)
@@ -33,6 +33,7 @@ import com.intellij.util.Function;
 import com.intellij.util.ObjectUtils;
 import com.intellij.util.ui.JBUI;
 import com.intellij.util.ui.PlatformColors;
 import com.intellij.util.ObjectUtils;
 import com.intellij.util.ui.JBUI;
 import com.intellij.util.ui.PlatformColors;
+import com.intellij.util.ui.SwingHelper;
 import com.intellij.util.ui.UIUtil;
 import com.intellij.util.ui.update.UiNotifyConnector;
 import org.jetbrains.annotations.NotNull;
 import com.intellij.util.ui.UIUtil;
 import com.intellij.util.ui.update.UiNotifyConnector;
 import org.jetbrains.annotations.NotNull;
@@ -337,6 +338,7 @@ public class ManagePackagesDialog extends DialogWrapper {
 
   private void createUIComponents() {
     myFilter = new MyPackageFilter();
 
   private void createUIComponents() {
     myFilter = new MyPackageFilter();
+    myDescriptionTextArea = SwingHelper.createHtmlViewer(true, null, null, null);
   }
 
   public void setOptionsText(@NotNull String optionsText) {
   }
 
   public void setOptionsText(@NotNull String optionsText) {