Skip to content

Commit

Permalink
sbt: change the font and size of the separate prod/test sources hint …
Browse files Browse the repository at this point in the history
…(#SCL-23415, #SCL-23416) fixed
  • Loading branch information
azdrojowa123 committed Jan 22, 2025
1 parent 9b224b3 commit 380af23
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 380af23

Please sign in to comment.