[ui] IJPL-62530 Kotlin UI DSL, accessibility: make help tooltip readable as control's description

- Applied new `Cell.contextHelp` method to existing places

GitOrigin-RevId: 0b13554b7f2b40527143f20861358a2d1cc26fe5
This commit is contained in:
Pavel Porvatov
2025-11-28 18:30:57 +00:00
committed by intellij-monorepo-bot
parent e322be7e4e
commit 9442e140c3
23 changed files with 40 additions and 65 deletions
@@ -57,10 +57,9 @@ class CompilerUIConfigurableKt(val project: Project) : DslConfigurableBase(), Se
row(JavaCompilerBundle.message("label.option.resource.patterns.text")) {
resourcePatternsField = cell(RawCommandLineEditor(ParametersListUtil.COLON_LINE_PARSER, ParametersListUtil.COLON_LINE_JOINER))
.comment(JavaCompilerBundle.message("compiler.ui.pattern.legend.text"))
.resizableColumn()
.align(AlignX.FILL)
.contextHelp(JavaCompilerBundle.message("compiler.ui.pattern.context.help"), JavaCompilerBundle.message("compiler.ui.pattern.context.help.title"))
.component
contextHelp(JavaCompilerBundle.message("compiler.ui.pattern.context.help"), JavaCompilerBundle.message("compiler.ui.pattern.context.help.title"))
}
.bottomGap(BottomGap.SMALL)
@@ -99,11 +98,11 @@ class CompilerUIConfigurableKt(val project: Project) : DslConfigurableBase(), Se
row {
label(JavaCompilerBundle.message("settings.compile.independent.modules.in.parallel"))
comboboxJpsParallelCompilation = comboBox(ParallelCompilationOption.entries)
.contextHelp(
title = JavaCompilerBundle.message("settings.parallel.module.compile.context.help.title"),
description = JavaCompilerBundle.message("settings.parallel.module.compile.context.help.description")
)
.component
contextHelp(
title = JavaCompilerBundle.message("settings.parallel.module.compile.context.help.title"),
description = JavaCompilerBundle.message("settings.parallel.module.compile.context.help.description")
)
}
}