Repository navigation
Settings: Tab width, Dynamic (default) or Fixed, first on Appearance (#56) - #57
Merged
Merged
Conversation
Settings > Appearance > Tab width. Fixed (the default) is every tab one width, as since #35; Fit to name is the strip from before, each tab as wide as its name up to 14rem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nce (#56) Owner: "put the option closer to the top of appearance, and call it dynamic not based on name. also have dynamic be the default setting, not fixed". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Maxaubert
force-pushed
the
feat/56-tab-width-setting
branch
from
September 23, 2026 13:01
2b88eeb to
1da4d5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #56. Owner, 2026-09-23: "add a setting for tab width, where the user can pick fixed size or dynamic, so essentially what we got now and what we had before"; then "put the option closer to the top of appearance, and call it dynamic not based on name. also have dynamic be the default setting, not fixed".
prism.window.tabWidth(lib/tabWidthPrefs.ts), read defensively (anything unknown is Dynamic). This app's own row, like Edges; in theoptionse2e's list of this app's rows.App 0.15.0 -> 0.16.0 (no core change).
Tests
tabWidthPrefs.test.ts(default Dynamic, both values, unknown values, listeners).tabWidth: by default a long name makes a wider tab than a short one (72 / 267 / 66px) and the long one stops at the cap, truncated; Tab width is the first row of Appearance; picking Fixed stores it and gives every tab 114px, and picking a tab then moves none. Screenshots.e2e-shots/tabs-dynamic.png,tabs-fixed.png,settings-tab-width.png, looked at.🤖 Generated with Claude Code