You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Coco theme text area has more padding on the top than the bottom, making the notifications look goofy. This is most noticeable with a simple notification like that produced with the following command: notify-send 'Test';
I believe the issue is line 447 of /src/themes/coco/coco-theme.c: gtk_widget_set_margin_start (vbox, 8);
The above is setting a top margin without a corresponding bottom margin (unlike the matching lines 428 and 429). I believe the solution is to add a call to gtk_widget_set_margin_end. Further, as I've also noticed that the top margin is a few pixels more than the side margins, it seems like the current margin should be split between the top and bottom. So line 447 would be replaced with:
Also, when an icon is included, the spacing to the left of the content (the content consisting of the combination of image and text) is less than the spacing to the right. I believe line 93 is the culprit: #define IMAGE_PADDING 10
The above is from: notify-send --icon=gucharmap 'Test' '________________________________________________________';
I think line 93 needs to be changed to: #define IMAGE_PADDING 15
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40183790-coco-theme-inconsistent-margin-padding?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
The Coco theme text area has more padding on the top than the bottom, making the notifications look goofy. This is most noticeable with a simple notification like that produced with the following command:
notify-send 'Test';
I believe the issue is line 447 of /src/themes/coco/coco-theme.c:
gtk_widget_set_margin_start (vbox, 8);
The above is setting a top margin without a corresponding bottom margin (unlike the matching lines 428 and 429). I believe the solution is to add a call to gtk_widget_set_margin_end. Further, as I've also noticed that the top margin is a few pixels more than the side margins, it seems like the current margin should be split between the top and bottom. So line 447 would be replaced with:
Also, when an icon is included, the spacing to the left of the content (the content consisting of the combination of image and text) is less than the spacing to the right. I believe line 93 is the culprit:
#define IMAGE_PADDING 10
The above is from:
notify-send --icon=gucharmap 'Test' '________________________________________________________';
I think line 93 needs to be changed to:
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40183790-coco-theme-inconsistent-margin-padding?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github).#define IMAGE_PADDING 15
The text was updated successfully, but these errors were encountered: