mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-59569 Packaging(fix): Modules area of Python packages toolwindow is not resizable
GitOrigin-RevId: de5174f21e1209c485662476f715c5240787e410
This commit is contained in:
committed by
intellij-monorepo-bot
parent
469d6dcd72
commit
d4a3b2095a
@@ -132,7 +132,7 @@ class PyPackagingToolWindowPanel(private val project: Project) : SimpleToolWindo
|
||||
add(topToolbar, BorderLayout.NORTH)
|
||||
add(splitter!!, BorderLayout.CENTER)
|
||||
}
|
||||
//setContent(mainPanel!!)
|
||||
setContent(mainPanel!!)
|
||||
}
|
||||
|
||||
private fun createLeftPanel(): JComponent {
|
||||
@@ -143,8 +143,12 @@ class PyPackagingToolWindowPanel(private val project: Project) : SimpleToolWindo
|
||||
border = BorderFactory.createEmptyBorder()
|
||||
}
|
||||
|
||||
left.add(moduleController.component, BorderLayout.WEST)
|
||||
left.add(packageListController.component, BorderLayout.CENTER)
|
||||
val splitter = OnePixelSplitter(false).apply {
|
||||
firstComponent = moduleController.component
|
||||
secondComponent = packageListController.component
|
||||
}
|
||||
splitter.proportion = 0.2f
|
||||
left.add(splitter, BorderLayout.CENTER)
|
||||
|
||||
return left
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user