From 63e7520789fb5ff0389ed98b4110c61e6a211997 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Fri, 10 Apr 2020 22:18:36 +0300 Subject: [PATCH] Wizard: place build system type components on multiple row when no space left --- .../wizard/ui/firstStep/BuildSystemTypeSettingComponent.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/firstStep/BuildSystemTypeSettingComponent.kt b/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/firstStep/BuildSystemTypeSettingComponent.kt index 0a22edd1136..4e1c62a7b51 100644 --- a/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/firstStep/BuildSystemTypeSettingComponent.kt +++ b/idea/idea-new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/wizard/ui/firstStep/BuildSystemTypeSettingComponent.kt @@ -78,6 +78,10 @@ class BuildSystemTypeSettingComponent( actionGroup: ActionGroup, horizontal: Boolean ) : ActionToolbarImplWrapper(place, actionGroup, horizontal) { + init { + layoutPolicy = ActionToolbar.WRAP_LAYOUT_POLICY + } + override fun createToolbarButton( action: AnAction, look: ActionButtonLook?,