mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
This reverts commit 0893ba33fc.
This commit is contained in:
@@ -366,14 +366,13 @@ export class QueryEditor extends BaseEditor {
|
|||||||
|
|
||||||
private addResultsEditor() {
|
private addResultsEditor() {
|
||||||
if (!this.resultsVisible) {
|
if (!this.resultsVisible) {
|
||||||
let initialViewSize = Math.round(Math.max(this.dimension.height * 0.7, this.dimension.height - 150));
|
|
||||||
this.splitview.addView({
|
this.splitview.addView({
|
||||||
element: this.resultsEditorContainer,
|
element: this.resultsEditorContainer,
|
||||||
layout: size => this.resultsEditor && this.resultsEditor.layout(new DOM.Dimension(this.dimension.width, size)),
|
layout: size => this.resultsEditor && this.resultsEditor.layout(new DOM.Dimension(this.dimension.width, size)),
|
||||||
minimumSize: 0,
|
minimumSize: 0,
|
||||||
maximumSize: Number.POSITIVE_INFINITY,
|
maximumSize: Number.POSITIVE_INFINITY,
|
||||||
onDidChange: Event.None
|
onDidChange: Event.None
|
||||||
}, initialViewSize);
|
}, Sizing.Distribute);
|
||||||
this.resultsVisible = true;
|
this.resultsVisible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user