Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Moreno <joao.moreno@microsoft.com>2021-03-30 15:04:46 +0300
committerGitHub <noreply@github.com>2021-03-30 15:04:46 +0300
commitc185983a683d14c396952dd432459097bc7f757f (patch)
tree11685a1cca90c6dcff30a7c2ebad9c86ace970a3
parentc71be15869a673c5ed7bfd3fe171757d2ba48142 (diff)
Fix table list height. Fixes #120062 (#120102) (#120168)1.55.0
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
-rw-r--r--src/vs/base/browser/ui/table/tableWidget.ts5
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 {