zombieFox / nightTab

A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks with nightTab.
https://zombiefox.github.io/nightTab/
GNU General Public License v3.0
1.78k stars 254 forks source link

Change tab name font size #386

Open Lucheiah opened 2 years ago

Lucheiah commented 2 years ago

I've noticed that the lettering on my tabs is different sizes, for no apparent reason - if it was that longer names were written in smaller font to fit all the letters in, that would be reasonable; however, there is seemingly no reason for some of the size discrepancies I have noticed. See attached screenshot for an example of what I mean. I've looked through the customisation options and can't see anywhere to alter font size and, honestly, the disparity is really bugging me!

Also, somewhat unrelated - is there a way to change the font style and colour for the header so it's more visible against certain backgrounds? NightTab

zombieFox commented 2 years ago

Hi, the Names visible on Bookmark tiles can be changed independently of each other. This control can be found when editing a bookmark:

zombiefox github io_nightTab_

On that same modal, at the bottom, is a control to make all other bookmarks match the Layout settings (including Name size):

zombiefox github io_nightTab_ (1)

zombieFox commented 2 years ago

Also, somewhat unrelated - is there a way to change the font style and colour for the header so it's more visible against certain backgrounds?

Sorry this is not possible as the text in the header is controlled by the overall theming engine.

melroy89 commented 1 year ago

I also would like to increase the font size of all the buttons! Without making the buttons bigger.

For some reason I am able to change the font size of the header text.

Button text just very hard to see for me (it's too small). While there is plenty of space left to increase the font size. Only by increasing the button links, the font size will also increase. (changing the font size for each bookmark is insane)

I think it should be possible to increase the font automatically when there is enough spacing left around the text inside the button.

image

zombieFox commented 1 year ago

The names can be resized when editing the Bookmark. Found under Layout > Name size:

zombiefox github io_nightTab_

I've looked into automatically resizing text to fit the parent container, the short version of those investigations are sadly a "not possible". The logic is too complex and unreliable.

melroy89 commented 1 year ago

Again. Edit each bookmark one by one is not efficient at all.

Why not make this a global setting as well? And optionally override it via what you showed.

zombieFox commented 1 year ago

This can be done via the "Apply Layout to other Bookmarks" checkbox found at the bottom of the Layout tab. This will apply the size to all Bookmarks and then you can optionally override individual bookmarks as you see fit.

https://user-images.githubusercontent.com/7115017/208952243-81d137d0-f30c-4f2d-84b3-47a80a418bc2.mp4

melroy89 commented 1 year ago

This can be done via the "Apply Layout to other Bookmarks" checkbox found at the bottom of the Layout tab. This will apply the size to all Bookmarks and then you can optionally override individual bookmarks as you see fit.

Kapture.2022-12-21.at.16.17.04.mp4

Ah I see! It's a bit tricky. But this will work for now. thanks!