mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
add horizontal scroll to message pane (#2787)
This commit is contained in:
@@ -30,6 +30,7 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
|||||||
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
|
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
|
||||||
import { IEditor } from 'vs/editor/common/editorCommon';
|
import { IEditor } from 'vs/editor/common/editorCommon';
|
||||||
import { QueryInput } from 'sql/parts/query/common/queryInput';
|
import { QueryInput } from 'sql/parts/query/common/queryInput';
|
||||||
|
import { ScrollbarVisibility } from 'vs/base/common/scrollable';
|
||||||
|
|
||||||
export interface IResultMessageIntern extends IResultMessage {
|
export interface IResultMessageIntern extends IResultMessage {
|
||||||
id?: string;
|
id?: string;
|
||||||
@@ -99,7 +100,7 @@ export class MessagePanel extends ViewletPanel {
|
|||||||
dataSource: this.ds,
|
dataSource: this.ds,
|
||||||
renderer: this.renderer,
|
renderer: this.renderer,
|
||||||
controller: this.controller
|
controller: this.controller
|
||||||
}, { keyboardSupport: false });
|
}, { keyboardSupport: false, horizontalScrollMode: ScrollbarVisibility.Auto });
|
||||||
this.tree.onDidScroll(e => {
|
this.tree.onDidScroll(e => {
|
||||||
if (this.state) {
|
if (this.state) {
|
||||||
this.state.scrollPosition = this.tree.getScrollPosition();
|
this.state.scrollPosition = this.tree.getScrollPosition();
|
||||||
|
|||||||
Reference in New Issue
Block a user