Browser.tabs.tabClipWidth
Contents
Background
In conjunction with several other improvements to tabbed browsing in Firefox 2.0, close buttons were added to tabs. These appear on the right or left side of the tab, depending on your OS. Since the close button takes up 16 pixels’ worth of tab width, it can obscure the tab’s text if you have a lot of tabs open and the tab widths become narrow. As a compromise, the close buttons are only shown on background tabs if their width is equal to or greater than this preference’s value.
Possible values and their effects
Any positive integer value of pixels. When a background tab has a width equal to or greater than this value, a close button is displayed on the tab. A value of 0 means that each tab will have a Close button.[1] The default value is 140.
Recommended settings
Values less than 50 may prevent any text from being displayed on especially narrow tabs. Large values (greater than the width of your browser window, for instance) effectively disable the tab close buttons on background tabs, excepting the behavior described in bug 324259.
First checked in
Has an effect in
- Mozilla Firefox (1.6a1 builds since 2006-01-20, experimental tabbed browsing builds from 2005-09-20 to 2005-11-03)
Related bugs
- Bug 308396 - UE fixes for tabbed browsing
- Bug 324259 - browser.tabs.tabClipWidth does not immediately affect first tab when second tab is opened
- Bug 342385 - get the browser.tabs.tabClipWidth pref working again
- Bug 344048 - what are good browser.tabs.tabMinWidth / browser.tabs.tabClipWidth defaults?