microsoft / microsoft/vscode

Agents window: let us center the bottom panel instead of it always spanning full width

Open
#336,738 0 comments 0 reactions 1 assignee Assigned to @benibenj View on GitHub
agents-window new release
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

## The problem

In the Agents window, the bottom panel always spans everything to the right of the Sidebar, it is not possible to center align it, like there is in the regular VS Code instance. This causes the right sidebar to get squeezed up. It also means its not possible to use the `View: Toggle Maximized Panel` command, which instead shows the error: "Maximizing the panel is only supported when it is center aligned." You can see that happening in this image.

Image

## What I would like

A way to center align the panel in the Agents window, so it spans the chat and editor area only and leaves the right Sidebar at full height, like I have hacked together here below.

Image

## Why it is not possible today

The Agents window layout fixes the alignment and ignores the commands:

https://github.com/microsoft/vscode/blob/main/src/vs/sessions/browser/workbench.ts#L2661-L2667

```ts
getPanelAlignment(): PanelAlignment {
return 'justify'; // Full width panel
}

setPanelAlignment(_alignment: PanelAlignment): void {
// No-op: Panel alignment is fixed in this layout
}
```

- VS Code Version: 1.138.0
- OS Version: macOS 26.6.2 (arm64)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.