IJPL-196457 Set missing labelFor in new project wizards so that it sets the accessible name

GitOrigin-RevId: de4fd3a826d494bfac67d6917ab1a21bcc287b2f
This commit is contained in:
Dmitry Drobotov
2025-07-16 10:08:50 +00:00
committed by intellij-monorepo-bot
parent 59fc14187b
commit af90dd7064
@@ -113,6 +113,7 @@ internal class MavenArchetypeNewProjectWizard : GeneratorNewProjectWizard {
.applyToComponent { horizontalTextPosition = JBLabel.LEFT }
.applyToComponent { icon = AllIcons.General.ContextHelp }
.applyToComponent { toolTipText = MavenWizardBundle.message("maven.new.project.wizard.archetype.catalog.tooltip") }
.applyToComponent { labelFor = catalogComboBox }
cell(catalogComboBox)
.applyToComponent { renderer = CatalogRenderer() }
.applyToComponent { setSwingPopup(false) }
@@ -133,6 +134,7 @@ internal class MavenArchetypeNewProjectWizard : GeneratorNewProjectWizard {
.applyToComponent { horizontalTextPosition = JBLabel.LEFT }
.applyToComponent { icon = AllIcons.General.ContextHelp }
.applyToComponent { toolTipText = MavenWizardBundle.message("maven.new.project.wizard.archetype.tooltip") }
.applyToComponent { labelFor = archetypeComboBox }
cell(archetypeComboBox)
.applyToComponent { bindSelectedItem(archetypeItemProperty) }
.align(AlignX.FILL)
@@ -422,4 +424,4 @@ internal class MavenArchetypeNewProjectWizard : GeneratorNewProjectWizard {
}
}
}
}
}