mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-321134 "More tool windows" menu appears on a different monitor when button moved to the right sidebar
GitOrigin-RevId: ff728d0ce411823c3a3c418ade6da64185ae741c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d9290f4882
commit
45ff05b5f1
@@ -89,7 +89,7 @@ private fun createAction(toolWindowToolbar: ToolWindowToolbar): DumbAwareAction
|
||||
override fun actionPerformed(e: AnActionEvent) {
|
||||
val actions = ToolWindowsGroup.getToolWindowActions(e.project ?: return, true)
|
||||
val popup = JBPopupFactory.getInstance().createActionGroupPopup(null, DefaultActionGroup(actions), e.dataContext, null, true)
|
||||
val minimumPopupWidth = 300
|
||||
val minimumPopupWidth = JBUI.scale(300)
|
||||
popup.setMinimumSize(Dimension(minimumPopupWidth, -1))
|
||||
val moreSquareStripeButton = toolWindowToolbar.moreButton
|
||||
val x = if (toolWindowToolbar is ToolWindowLeftToolbar) {
|
||||
|
||||
Reference in New Issue
Block a user