Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Firefox 4.0 Beta 2: browser.tabs.tabMinWidth doesn't seem to work

  • 1 件の返信
  • 62 人がこの問題に困っています
  • 11 回表示
  • 最後の返信者: cor-el

more options

I am using Firefox 4.0 Beta 2 on Vista Ultimate and the browser.tabs.tabMinWidth doesn't seem to work (have set it to 150). I've restarted the browser since setting this configuration, but that hasn't had any effect.

Has this setting been deprecated/removed in Firefox 4.0?

Firefox was started with command: firefox.exe -no-remote -P FF-4.0-B2

I am using Firefox 4.0 Beta 2 on Vista Ultimate and the browser.tabs.tabMinWidth doesn't seem to work (have set it to 150). I've restarted the browser since setting this configuration, but that hasn't had any effect. Has this setting been deprecated/removed in Firefox 4.0? Firefox was started with command: firefox.exe -no-remote -P FF-4.0-B2

すべての返信 (1)

more options

Yes, those prefs no longer work.
You need to use CSS code in userChrome.css to accomplish that.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tabbrowser-tab:not([pinned]) {max-width:250px!important; min-width:100px!important;}
.tabbrowser-tab:not([fadein]) {max-width:1px!important; min-width:1px!important;}


Add code to userChrome.css below the @namespace line.
See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

See also Custom Tab Width: https://addons.mozilla.org/firefox/addon/221515/


Bug 577497 – browser ignoring tabMinWidth and tabClipWidth
Bug 574654 – Remove browser.tabs.tabMinWidth and browser.tabs.tabMaxWidth in favor of CSS

この投稿は cor-el により に変更されました