Is any option/subclass to remove rounded corners decoration for app-notification
class?
No, of course not. Especially when it’s deprecated and no new app should touch it.
Thanks for info, could you explain please what to use instead?
Surprised that app-notification
is deprecated
UPD found osd - is deprecated also?
Libadwaita recommends using AdwToasts as replacement of custom-made widgets using the app-notification style.
OSD is still supported but for other purposes (overlaid controls) than notifications.
To summarize:
- for notifications, prefer AdwToasts
- for overlaid controls, look at the
.osd
style - for other usecases, consider using a custom style
Thanks, I’ve tried AdwToasts
but seems custom child widgets not supported there, like forms:
Just replaced app-notification
with osd
and now have another problem - it’s large text Entry
is any option to make it height regular? maybe some class exist because can’t find in docs
have you tried setting the entry’s property valign=CENTER?
Cool! valign=CENTER
works, thank you much!!
Thanks for info, could you explain please what to use instead?
Surprised thatapp-notification
is deprecated
The docs you linked to literally explain it.
As for what you’re doing - GtkSearchBar
.
Oh, btw - .osd is also getting deprecated this cycle because of legibility issues.
Hm, thanks for GtkSearchBar
alternative (there’s GtkRevealer
could be useful also) but I want to keep current widget with it behavior as is, just apply dark color by CSS class from Adwaita asset. Is any option for that?
I mean as usual - no one can stop you from using things in ways they aren’t supposed to, but also no one is gonna provide support when they break.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.