Repository navigation
Double-click the right panel divider to split the space evenly #29204
nx-alejandrolacasa
started this conversation in
Ideas
Replies: 1 comment
|
PR with the implementation and before/after recordings: #29206. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
When the right panel is open, the only way to size it is to drag the divider. Getting an even split takes a few tries, because the panel has a minimum width and a cap derived from the row, so the handle does not land where the pointer is. People who switch between "mostly chat" and "chat and preview side by side" several times a day do this a lot.
Proposal
Double-clicking the divider sets the panel to half of the row and persists that width, the same way a drag does. It only applies when the panel is inline. The sheet, the maximized state, and mobile have no divider and are untouched. The existing minimum and maximum clamps still apply, so on a narrow window the panel lands at its minimum instead of half.
This is a common convention: Finder, VS Code's sidebar, and most IDE splitters reset or snap on double-click.
Related
All reactions