File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
src/vs/sessions/browser/parts Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ export class ChatBarPart extends AbstractPaneCompositePart {
3434 static readonly placeholderViewContainersKey = 'workbench.chatbar.placeholderPanels' ;
3535 static readonly viewContainersWorkspaceStateKey = 'workbench.chatbar.viewContainersWorkspaceState' ;
3636
37- // Use the side bar dimensions
38- override readonly minimumWidth : number = 170 ;
37+ override readonly minimumWidth : number = 300 ;
3938 override readonly maximumWidth : number = Number . POSITIVE_INFINITY ;
4039 override readonly minimumHeight : number = 0 ;
4140 override readonly maximumHeight : number = Number . POSITIVE_INFINITY ;
@@ -44,21 +43,6 @@ export class ChatBarPart extends AbstractPaneCompositePart {
4443 return this . layoutService . mainContainerDimension . height * 0.4 ;
4544 }
4645
47- get preferredWidth ( ) : number | undefined {
48- const activeComposite = this . getActivePaneComposite ( ) ;
49-
50- if ( ! activeComposite ) {
51- return undefined ;
52- }
53-
54- const width = activeComposite . getOptimalWidth ( ) ;
55- if ( typeof width !== 'number' ) {
56- return undefined ;
57- }
58-
59- return Math . max ( width , 300 ) ;
60- }
61-
6246 readonly priority = LayoutPriority . High ;
6347
6448 constructor (
You can’t perform that action at this time.
0 commit comments