搜尋 Mozilla 技術支援網站

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

了解更多

How do I get the bookmarks toolbar's width to autofit to its buttons when placed next to tabs?

  • 4 回覆
  • 5 有這個問題
  • 8 次檢視
  • 最近回覆由 Squeej23

more options

FF4: I'd like to be able to put the bookmark toolbar right next to my tabs (not above or below). However, when I do this, the width of the toolbar does not shrink down to fit only the buttons, i.e. the bookmarks toolbar takes up a lot of blank space.

This happens whether placing it on the right or left, or when placing tabs in the bookmarks toolbar.

To ask the question in another way, is there any way to autofit the bookmarks toolbar to its contents when placing next to tabs?

FF4: I'd like to be able to put the bookmark toolbar right next to my tabs (not above or below). However, when I do this, the width of the toolbar does not shrink down to fit only the buttons, i.e. the bookmarks toolbar takes up a lot of blank space. This happens whether placing it on the right or left, or when placing tabs in the bookmarks toolbar. To ask the question in another way, is there any way to autofit the bookmarks toolbar to its contents when placing next to tabs?

由 Squeej23 於 修改

被選擇的解決方法

I have the same problem. Roomy Bookmarks Toolbar isn't helpful, it doesn't change this odd behavior of bookmarks bar.

I've come up with so-so workaround: take code for userChrome.css from this question and change max-width to what you need. My code:

#personal-bookmarks { max-width: 200px !important; }

If only you can put there smth like "width: auto" so you don't have to increase width manually after each new bookmark. But that doesn't work.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

Try using an extension like this which provides a bookmark icons only feature for the bookmarks toolbar.

https://addons.mozilla.org/en-US/firefox/addon/roomy-bookmarks-toolbar/

more options

Thanks for the reply.

That's actually exactly what I intend to do. I've tried this both with and without the extension installed. The attached image includes two screenshots: (top) bookmarks toolbar to the left and (bottom) to the right.

When placed to the left, the tabs end up way over to the right and not up against the bookmark toolbar's contents, restricting the amount of space for tabs to fill.

When placed to the right, the bookmark toolbar's contents are not right justified and, again, restricting room for tabs.

Hopefully this clarifies my question.

more options

選擇的解決方法

I have the same problem. Roomy Bookmarks Toolbar isn't helpful, it doesn't change this odd behavior of bookmarks bar.

I've come up with so-so workaround: take code for userChrome.css from this question and change max-width to what you need. My code:

#personal-bookmarks { max-width: 200px !important; }

If only you can put there smth like "width: auto" so you don't have to increase width manually after each new bookmark. But that doesn't work.

more options

Indeed, it's a shame that there isn't some way to use an 'auto' type script. For the time being, though, I'd consider this a useful work around.

Thanks a lot for the tip :-)