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!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 4 ответа
  • 5 имеют эту проблему
  • 3 просмотра
  • Последний ответ от 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 :-)