Added horizontal scrolling for explorer (#3819)

* added horizontal scrolling for explorer

* made horizontal scrolling auto
This commit is contained in:
Aditya Bist
2019-01-24 13:31:19 -08:00
committed by GitHub
parent 5d336accbc
commit ef64038107

View File

@@ -29,6 +29,7 @@ import { IWorkbenchThemeService } from 'vs/workbench/services/themes/common/work
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
import { IProgressService } from 'vs/platform/progress/common/progress';
import * as types from 'vs/base/common/types';
import { ScrollbarVisibility } from 'vs/base/common/scrollable';
@Component({
selector: 'explorer-widget',
@@ -94,7 +95,7 @@ export class ExplorerWidget extends DashboardWidget implements IDashboardWidget,
dataSource: this._treeDataSource,
filter: this._treeFilter,
renderer: this._treeRenderer
});
}, { horizontalScrollMode: ScrollbarVisibility.Auto });
this._tree.layout(getContentHeight(this._tableContainer.nativeElement));
this._register(this._input);
this._register(attachInputBoxStyler(this._input, this.themeService));