Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase minimum tab width and hide close buttons on inactive tabs #8247

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

denisfl
Copy link
Contributor

@denisfl denisfl commented Mar 17, 2025

With a large number of open tabs, it becomes difficult to navigate between them. Certainly, it would be great to keep only a small number of tabs open. However, since there's no limit on opening tabs, I suggest improving tab readability and preventing their accidental closure.

image

Readability can be improved by increasing the minimum tab width. I increased the minimum tab width value by one point. Since I don't have any data on how users work with the tab panel, I rely on personal experience and observations of similar mechanics in various browsers (Chrome-based browsers and Firefox).

Assuming that user information is of greater value, I suggest hiding the "Close" buttons for all inactive tabs. This can help avoid accidentally closing tabs when switching between them.

SCR-20250317-kbbm

Each tab gets its well-deserved millimeters of screen space.

@denisfl denisfl force-pushed the improve-tab-usability branch from 6828f18 to bb5a336 Compare March 17, 2025 11:00
@denisfl
Copy link
Contributor Author

denisfl commented Mar 20, 2025

I noticed that the tests have failed. I'll take a timeout to figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants