mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
runtime-chooser: XTEST-635 fix warning icon vertical alignment (suggested by Alina)
GitOrigin-RevId: fb64e50075cf483d34b49aa3ceeae525445962f6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7b444967f2
commit
ce36e881ae
+2
@@ -31,6 +31,7 @@ import java.nio.file.Path
|
||||
import java.nio.file.Paths
|
||||
import javax.swing.JComponent
|
||||
import javax.swing.JPanel
|
||||
import javax.swing.SwingConstants
|
||||
|
||||
sealed class RuntimeChooserDialogResult {
|
||||
object Cancel : RuntimeChooserDialogResult()
|
||||
@@ -136,6 +137,7 @@ class RuntimeChooserDialog(
|
||||
|
||||
addToCenter(JBLabel().apply {
|
||||
icon = AllIcons.General.Warning
|
||||
verticalTextPosition = SwingConstants.TOP
|
||||
text = HtmlChunk
|
||||
.html()
|
||||
.addText(LangBundle.message("dialog.label.choose.ide.runtime.warn"))
|
||||
|
||||
Reference in New Issue
Block a user