[rider-debugger] RIDER-127723 put thread descriptions at the bottom of the frames view; place frames ad above it

(cherry picked from commit 5b84c9b531be5ed67f05ead222ac8f53c0689e01)

NET-MR-17485

GitOrigin-RevId: bf766da30f68ae1997785e9cc602b8673965673b
This commit is contained in:
Arseny.Chernyaev
2025-10-22 21:56:22 +00:00
committed by intellij-monorepo-bot
parent b72756a777
commit b66299049c
@@ -51,7 +51,7 @@ class XThreadsFramesView(val debugTab: XDebugSessionTab3, private val sessionPro
private val myFramesList = XDebuggerFramesList(debugTab.project, sessionProxy)
private val myDescriptionPanel = JPanel(BorderLayout()).apply {
border = JBEmptyBorder(0, 20, 0, 0)
border = JBEmptyBorder(0)
}
private val mySplitter: NonProportionalOnePixelSplitter
@@ -154,9 +154,13 @@ class XThreadsFramesView(val debugTab: XDebugSessionTab3, private val sessionPro
val frameListWrapper = JPanel(BorderLayout(0, 0))
frameListWrapper.add(myDescriptionPanel, BorderLayout.NORTH)
addFramesNavigationAd(frameListWrapper)
frameListWrapper.add(myFramesList.withSpeedSearch().toScrollPane(), BorderLayout.CENTER)
val framesWrapper = JPanel(BorderLayout()).apply {
add(myFramesList.withSpeedSearch().toScrollPane(), BorderLayout.CENTER)
addFramesNavigationAd(this)
}
frameListWrapper.add(framesWrapper, BorderLayout.CENTER)
frameListWrapper.add(myDescriptionPanel, BorderLayout.SOUTH)
frameListWrapper.minimumSize = minimumDimension
splitter.secondComponent = frameListWrapper
@@ -170,7 +174,7 @@ class XThreadsFramesView(val debugTab: XDebugSessionTab3, private val sessionPro
descriptionComponentProvider.currentDescriptionComponent.collect {
myDescriptionPanel.removeAll()
if (it != null) {
myDescriptionPanel.add(it)
myDescriptionPanel.add(it, BorderLayout.CENTER)
}
myDescriptionPanel.revalidate()
myDescriptionPanel.repaint()