BruceAWittmeier wrote:Im not trying to be argumentative, but with this code in your userChrome.css file and the property you suggested above to be set false and the min-width and max-width set the same in TMP, I believe this works as desired.
/* remove the left / right arrow on the scroll bar */
.tabbrowser-tabs .scrollbutton-up, .scrollbutton-down
{
/* visible is default so without this code they will show */
visibility: hidden !important;
}
/* Show the arrows but gray when not needed */
.tabbrowser-arrowscrollbox
{
visibility: visible !important;
}
This makes a constant tab width, arrows are only present when there is overflow and the space for the arrows is retained even when there is no overflow. You can open tabs to overflow, click 1 place on any of the first few tabs without moving the mouse and close them all until you are below the tab you are closing with the 'X'.
I tried the code above and yes it works well at making the tabs width constant when not in "Tab Overflow Mode" and also places empty spaces on the far left and right ends the tab bar in either regular or tab overflow mode, which in my opinion looks odd. Your above CSS code doesn't disable the resizing tab close behavior of bug 465086 : Try the 'STR' in my above post while using your CSS code and you'll see what I'm talking about. If you use my style above and set about:config pref: browser.tabs.animate; set to false, it disables all tab animations, except 'Smoothscroll wheel tab animations' when in "Tab Overflow Mode" which can be disabled using about:config pref: toolkit.scrollbox.smoothScroll; set to false.