We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6012641 commit 5043f83Copy full SHA for 5043f83
src/io/flutter/view/ViewUtils.java
@@ -7,6 +7,7 @@
7
8
import com.intellij.openapi.ui.VerticalFlowLayout;
9
import com.intellij.openapi.wm.ToolWindow;
10
+import com.intellij.ui.JBColor;
11
import com.intellij.ui.components.JBLabel;
12
import com.intellij.ui.components.labels.LinkLabel;
13
import com.intellij.ui.content.Content;
@@ -26,7 +27,7 @@ public class ViewUtils {
26
27
final JBLabel descriptionLabel = new JBLabel(wrapWithHtml(warning));
28
descriptionLabel.setBorder(JBUI.Borders.empty(5));
29
descriptionLabel.setHorizontalAlignment(SwingConstants.CENTER);
- descriptionLabel.setForeground(Color.RED);
30
+ descriptionLabel.setForeground(JBColor.RED);
31
return descriptionLabel;
32
}
33
0 commit comments