diff options
Diffstat (limited to 'src/vs/base/browser/ui/table')
-rw-r--r-- | src/vs/base/browser/ui/table/tableWidget.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vs/base/browser/ui/table/tableWidget.ts b/src/vs/base/browser/ui/table/tableWidget.ts index 033474eb7cf..2600fcb7509 100644 --- a/src/vs/base/browser/ui/table/tableWidget.ts +++ b/src/vs/base/browser/ui/table/tableWidget.ts @@ -250,7 +250,10 @@ export class Table<TRow> implements ISpliceable<TRow>, IThemable, IDisposable { this.cachedHeight = height; this.splitview.layout(width); - this.list.layout(height - this.virtualDelegate.headerRowHeight, width); + + const listHeight = height - this.virtualDelegate.headerRowHeight; + this.list.getHTMLElement().style.height = `${listHeight}px`; + this.list.layout(listHeight, width); } toggleKeyboardNavigation(): void { |