Aylur / ags

A customizable and extensible shell
GNU General Public License v3.0
1.74k stars 95 forks source link

Widgets being cut off #411

Closed cdubthecoolcat closed 1 month ago

cdubthecoolcat commented 1 month ago

I'm using the example notification popups and this happens most of the time:

2024-05-04-230036

This happens with the unmodified CSS as well, but will not cut off if enough notifications show up. I'm currently working around this by adding margin-bottom, but it would be nice to not have to do this.

cdubthecoolcat commented 1 month ago

fixed by changing the order of the windows in App.config so that the notifications are first

Nanderty commented 1 month ago

I had the same issue, putting the Notification window at the end of the list is not the only requirement for this to happen. One also has to define "maxWidthChars" for the label widgets inside the notification, otherwise the cutoff still happens.

EDIT: It seems, "maxWidthChars" has to be set to something smaller than 27 to prevent the cutoff.

cdubthecoolcat commented 1 month ago

Yes this is the correct solution. I previously forgot to comment out my workaround so I thought what I did fixed it. Setting max_width_chars seems to be the real fix.