File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/vs/workbench/browser/parts/editor Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,11 @@ export class MultiRowEditorControl extends Disposable implements IEditorTabsCont
173
173
174
174
layout ( dimensions : IEditorTitleControlDimensions ) : Dimension {
175
175
const stickyDimensions = this . stickyEditorTabsControl . layout ( dimensions ) ;
176
- const unstickyDimensions = this . unstickyEditorTabsControl . layout ( dimensions ) ;
176
+ const unstickyAvailableDimensions = {
177
+ container : dimensions . container ,
178
+ available : new Dimension ( dimensions . available . width , dimensions . available . height - stickyDimensions . height )
179
+ } ;
180
+ const unstickyDimensions = this . unstickyEditorTabsControl . layout ( unstickyAvailableDimensions ) ;
177
181
178
182
return new Dimension (
179
183
dimensions . container . width ,
You can’t perform that action at this time.
0 commit comments