mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix for IDEA-227823 Borderless header: Project name and path has the same color as menu items
GitOrigin-RevId: 19d13ab624c6e40ff4dddac983099a0d0f5685e3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
068fa05bba
commit
8ba0856ff5
+5
@@ -23,6 +23,7 @@ import com.intellij.util.Alarm
|
||||
import com.intellij.util.ui.JBUI
|
||||
import net.miginfocom.swing.MigLayout
|
||||
import sun.swing.SwingUtilities2
|
||||
import java.awt.Color
|
||||
import java.awt.Dimension
|
||||
import java.awt.Graphics
|
||||
import java.awt.Graphics2D
|
||||
@@ -99,6 +100,10 @@ open class SelectedEditorFilePath(private val onBoundsChanged: (() -> Unit)? = n
|
||||
return Dimension(projectTitle.shortWidth, super.getMinimumSize().height)
|
||||
}
|
||||
|
||||
override fun setForeground(fg: Color?) {
|
||||
super.setForeground(fg)
|
||||
label.foreground = fg
|
||||
}
|
||||
}.apply {
|
||||
isOpaque = false
|
||||
add(label)
|
||||
|
||||
Reference in New Issue
Block a user