neithern / g4music

A fast fluent lightweight music player written in GTK4, with a beautiful and adaptive user interface.

Home Page:https://gitlab.gnome.org/neithern/g4music

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add shadow on images

ejaa3 opened this issue · comments

You could toggle in the GTK Inspector a CSS like this:

clamp image, gridview image {
	filter: drop-shadow(0px 1px 4px #0007);
}

Looks good, but how can I set individual shadow radius for different sized image? Or disable the images in list mode?

I guess you can give a name to the parent widget and in the CSS select it with #parent_widget_name image { }

Or give a class to the Gtk.Image and select them with: .image_class { } 🤔