Iconic icon indicating copy to clipboard operation
Iconic copied to clipboard

Add colors to the dropdown

Open vanillajonathan opened this issue 1 year ago • 3 comments

In the preferences there is a dropdown for "Manually select folder color" which contains colors as text. Maybe it would be possible to also next to the color name also show the color?

It would look like this: 🔵 Blue 🟢 Green 🟡 Yellow 🟠 Orange 🔴 Red 🟣 Purple

vanillajonathan avatar Nov 13 '24 12:11 vanillajonathan

that is a really good idea that I wanted to implement. however... I couldn't figure out how to do that 😅.

One place I saw this being used was in the gtk inspector, but I couldn't find where the dropdown was made, and I don't have much knowledge about C

youpie avatar Nov 13 '24 12:11 youpie

I don't know, but a quick glance at the GTK documentation and I found the set_list_factory method on the Gtk.DropDown widget which might be something that could be used?

vanillajonathan avatar Nov 13 '24 13:11 vanillajonathan

Feel free to create a pull request if you want to implement it 😄

youpie avatar Nov 14 '24 14:11 youpie