From 5fedf0213401d8b928024151aedd589a81d9cf78 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 1 Jul 2021 09:21:51 +0200 Subject: [PATCH] fixes #127669 --- src/vs/workbench/contrib/debug/browser/debugHover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/debug/browser/debugHover.ts b/src/vs/workbench/contrib/debug/browser/debugHover.ts index 5595740a8ff..018471f84e4 100644 --- a/src/vs/workbench/contrib/debug/browser/debugHover.ts +++ b/src/vs/workbench/contrib/debug/browser/debugHover.ts @@ -311,7 +311,7 @@ export class DebugHoverWidget implements IContentWidget { private layoutTreeAndContainer(initialLayout: boolean): void { const scrollBarHeight = 10; - const treeHeight = Math.min(this.editor.getLayoutInfo().height * 0.55, this.tree.contentHeight + scrollBarHeight); + const treeHeight = Math.min(Math.max(266, this.editor.getLayoutInfo().height * 0.55), this.tree.contentHeight + scrollBarHeight); this.treeContainer.style.height = `${treeHeight}px`; this.tree.layout(treeHeight, initialLayout ? 400 : undefined); this.editor.layoutContentWidget(this);