Skip to content

Commit

Permalink
Merged branch idea243.release into idea243.x
Browse files Browse the repository at this point in the history
  • Loading branch information
builduser committed Jan 22, 2025
2 parents 5aaf057 + 380af23 commit 91e6e15
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package org.jetbrains.sbt.project.settings

import com.intellij.icons.AllIcons
import com.intellij.ide.browsers.BrowserLauncher
import com.intellij.openapi.ui.panel.ComponentPanelBuilder
import com.intellij.ui.components.{ActionLink, JBLabel}
import com.intellij.ui.{JBColor, TitledSeparator}
import com.intellij.uiDesigner.core.{GridConstraints, GridLayoutManager, Spacer}
Expand Down Expand Up @@ -116,8 +117,8 @@ final class SbtExtraControls {
panel.add(parentPanel, gc(0, 0, 1, 1))

val comment = new JBLabel(text)
comment.setComponentStyle(UIUtil.ComponentStyle.SMALL)
comment.setForeground(UIUtil.getLabelFontColor(UIUtil.FontColor.BRIGHTER))
comment.setFont(ComponentPanelBuilder.getCommentFont(comment.getFont)): @nowarn("cat=deprecation")
comment.setForeground(JBUI.CurrentTheme.ContextHelp.FOREGROUND)
val leftOffset = UIUtil.getCheckBoxTextHorizontalOffset(checkBox)
comment.setBorder(JBUI.Borders.emptyLeft(leftOffset))
panel.add(comment, gc(1, 0, 1, 1))
Expand Down

0 comments on commit 91e6e15

Please sign in to comment.