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 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

In the customization menu, how do I change the size of the 'flexible space' option?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I want to move the icons about on my toolbar, get some space in between them, but the flexible space option is just too large. I've only just upgraded to the new Firefox. In older versions you were able to change the size of the space. Is that still possible?

I want to move the icons about on my toolbar, get some space in between them, but the flexible space option is just too large. I've only just upgraded to the new Firefox. In older versions you were able to change the size of the space. Is that still possible?

所有回覆 (1)

more options

That would require some editing of browser.uiCustomization.state. Current Firefox releases come with a flexible space item in the Customize palette because it is used at both sides of the location bar container. Firefox has always supported all three special items (separator, spacer, spring), but there weren't present in the palette. Some extensions like Classic Theme Restorer supported these items.

You can edit the browser.uiCustomization.state pref and change customizableui-special-spring## to customizableui-special-spacer##. Each of these special items need a unique ID (##) to make them work, there can't be two items with the same number.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

"customizableui-special-separator##" (separator) "customizableui-special-spacer##" (spacer) "customizableui-special-spring##" (spring)

由 cor-el 於 修改