mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-15 20:26:04 +07:00
vcs: Fix commit options layout for multi-vcs projects (IDEA-219276)
28c9777890180acc541799886f0c3764d10cbe89 follow-up GitOrigin-RevId: 74dde5ce3e1cce47c359ffb89beceed873b0832d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
193c5e9b7f
commit
7d695cabb5
@@ -16,7 +16,7 @@ import kotlin.collections.set
|
||||
|
||||
class CommitOptionsPanel(private val actionNameSupplier: () -> String) : BorderLayoutPanel(), CommitOptionsUi {
|
||||
private val perVcsOptionsPanels = mutableMapOf<AbstractVcs<*>, JPanel>()
|
||||
private val vcsOptionsPanel = simplePanel()
|
||||
private val vcsOptionsPanel = verticalPanel()
|
||||
private val beforeOptionsPanel = simplePanel()
|
||||
private val afterOptionsPanel = simplePanel()
|
||||
|
||||
@@ -96,6 +96,8 @@ class CommitOptionsPanel(private val actionNameSupplier: () -> String) : BorderL
|
||||
}
|
||||
|
||||
companion object {
|
||||
private fun verticalPanel() = JPanel(VerticalFlowLayout(0, 0))
|
||||
|
||||
fun verticalPanel(title: String) = JPanel(VerticalFlowLayout(0, 5)).apply {
|
||||
border = createTitledBorder(title)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user