DComboBox options icons

DComboBox options have empty space on the left, they’re perfect for icons, however I found no method to add an icon to an option on the wiki. Is there a way to do so or do I have to modify functions myself?

You could probably use

PANEL:PaintOver

I couldn’t figure out how to properly add spaces for the icon, but I came up with this real quick.

http://image.noelshack.com/fichiers/2017/38/1/1505729688-comboboxicons.png

That’s a pretty dope bit of code

Awesome, thanks a lot! <3