Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with temperature tray text style #143

Open
VadimAspirin opened this issue Jan 29, 2023 · 2 comments
Open

Issues with temperature tray text style #143

VadimAspirin opened this issue Jan 29, 2023 · 2 comments

Comments

@VadimAspirin
Copy link

VadimAspirin commented Jan 29, 2023

  1. Temperature text size varies depending on the value:

image

It seems that this heterogeneity spoils the style of the system tray. I'm not sure if this was originally intended, but it would be nice to have a setting that fixes the size.

  1. As @obuw said here, scaling the font makes it fuzzy:

    The font size is by default a little bigger than the other stuff in the taskbar, which looks a little out of place:
    image
    And if I reduce the size then the text doesn't look crisp anymore:
    image
    I think being able to choose font size rather than a % scaling would have a sharper result.

@emvaized
Copy link

I think the height changes because the width of text changes, when we compare "-9" and "-10" (one more digit added). Probably a "stretch" text setting was intended to solve this?

@FelixdelasPozas
Copy link
Owner

Hi @VadimAspirin and @emvaized .

The application tries to maximize the size of the text to fill all the area available for it (a tray icon area) so less characters will make the text bigger automatically. It doesn't use a font size at all because the idea is to make the text as big as possible to be able to read it just with a quick glance at the taskbar.

Letting the user set the font size means that (probably) you'll have to change it when the inclusion of a new character crops the border of a number because all the text won't fit the area. I tried to avoid that with the current implementation.

Regards,
Félix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants