# Don't grow agent panel to fill entire center \(\#52380\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a6fa2d40342973943bde670fc868a02793c63bf8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a6fa2d40342973943bde670fc868a02793c63bf8

Requested commit: a6fa2d40342973943bde670fc868a02793c63bf8

Commit: a6fa2d40342973943bde670fc868a02793c63bf8

Tree: 334286b0f86fd54d71f14d0906b0ec142a53ef90

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Don't grow agent panel to fill entire center (#52380)

This PR simplifies the flexible-width agent panel's rendering such that
for now, it will not grow to fill the center area when there are no
files open. The problem with doing that is that it makes the bottom dock
invisible.

We could potentially revisit this, and just shrink the width of the
agent panel when the bottom dock was toggled, but that might feel
unstable, so for now I'm doing a simpler thing and just keeping the
center area visible even when it is empty.

Release Notes:

- N/A
```

## Parents

- [0a4269ffa27927861d31d013965f98f77ddbae17](https://git.cafe/gitcafe/zed/commit/0a4269ffa27927861d31d013965f98f77ddbae17?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a6fa2d40342973943bde670fc868a02793c63bf8?format=markdown)
