Skip to content

cpu-monitor-text@gnemonix: Adjust minimum width of applet #7129

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fisherman734
Copy link

Since Issue #7080 has been fixed the width of the applet is too small to show the label (with the added whitespace). The percentage character gets (partially) cut off at the right border.

This adjusts the applet width by taking into account the length of the "Text" and "Max Percentage" fields. The (hardcoded) single whitespace between the "Text" and "Max Percentage" fields has been removed, if needed it can be added to the end of the "Text" field.

@gnemonix

Since Issue linuxmint#7080 has been fixed the width of the applet is too small to show the label (with the added whitespace).
The percentage character gets (partially) cut off at the right border.

This adjusts the applet width by taking into account the length of the "Text" and "Max Percentage" fields.
The  (hardcoded) single whitespace between the "Text" and "Max Percentage" fields has been removed,
if needed it can be added to the end of the "Text" field.
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

Successfully merging this pull request may close these issues.

1 participant