Closed System64fumo closed 9 months ago
Thanks! Fixed :)
The place holder is now working as intended but the list is now only shown when there are notifications? Could you please make the list visible at all times? (I'm using it to make my notif center dynamically sized with min-height)
Isn't possible with the placeholder visible. Can't you set min-height to the parent "stack" widget?
I'm afraid not, The stack widget cannot be dynamically sized. Could we perhaps have a config to "show-placeholder-when-empty"?
Ok technically all of this is just a workaround for a different issue https://github.com/ErikReider/SwayNotificationCenter/issues/330#issue-1955634576 If we had the control center elements inside of another main box (.control-center > box > box (modules)) it would be better That or the ability to have the main control center box have a minimum and maximum size config and for it to dynamically increase in height as more widgets get added instead of having a fixed size
Describe the bug .control-center-list shows up when you first start swaync but .control-center-list-placeholder does not (As if there is an invisible notification) But if you receive a notification and close out of it the placeholder shows up but the list doesn't.
Ideally i would like for the placeholder to be shown when there are no notifications and for the list to be visible at all times (I'm using min-height) to get a dynamically sized notification center.
To Reproduce Steps to reproduce the behavior:
Expected behavior Placeholder would be visible when there are no active notifications List to be visible at all times (As it currently is despite this bug)
Screenshots
Desktop (please complete the following information):
Additional context Red is the list (min-height: 5px) Green is the placeholder