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

Sensor texts go out of screen on hover. #4

Closed
linuxmobile opened this issue Jan 29, 2023 · 6 comments
Closed

Sensor texts go out of screen on hover. #4

linuxmobile opened this issue Jan 29, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@linuxmobile
Copy link

I recorded a video so you can see the inconvenience!
https://youtu.be/rZIdxXfG_14

@scorpion-26
Copy link
Owner

I think this happens, when there isn't enough space for the text to appear and GTK resizes the window.
I don't know, if i can persuade GTK to not resize the window.

Can you see if decreasing the font size(in the scss $textsize) fixes it?

I'll probably add an option, that replaces the revealers with tooltips in the future, which should also fix the issue.

@linuxmobile
Copy link
Author

I think this happens, when there isn't enough space for the text to appear and GTK resizes the window. I don't know, if i can persuade GTK to not resize the window.

Can you see if decreasing the font size(in the scss $textsize) fixes it?

I'll probably add an option, that replaces the revealers with tooltips in the future, which should also fix the issue.

Yeah. Decreasing the font size work but fs is 10px xD

@scorpion-26
Copy link
Owner

Decreasing the font size work

Is the issue fixed, or does this workaround make the font way too small?

@scorpion-26 scorpion-26 changed the title [ISSUE] The cpu, mem, disk have a problem when the text appears. Sensor texts go out of screen on hover. Jan 29, 2023
@scorpion-26 scorpion-26 added the bug Something isn't working label Jan 29, 2023
scorpion-26 added a commit that referenced this issue Jan 29, 2023
Setting this will make #4 less
likely.
@linuxmobile
Copy link
Author

Decreasing the font size work

Is the issue fixed, or does this workaround make the font way too small?

Is too small, but work fine xd

@scorpion-26
Copy link
Owner

scorpion-26 commented Jan 29, 2023

I just added an option, which should fix the issue, even with a very large font.
Just set CenterTime: false inside ~/.config/gBar/config(Like explained in the README)
Drawback is, that the time won't be centered anymore.
Can you confirm, that this works?

@linuxmobile
Copy link
Author

CenterTime: false

Fixed <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants