How to change the background of ItemList?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By icqqq

I cannot find any parameters in ItemList to change the background of it

How can I change it?

Thank you

:bust_in_silhouette: Reply From: Christoffer Schindel

If you make a new GUI theme, you can change the background of ItemList:

New Resource > Theme

enter image description here

Remember to apply the new theme to your ItemList.

Can this be done by code for a button?

p7f | 2018-11-29 13:56

Maybe by applying the whole theme by code

Ingeniou5 | 2022-10-31 19:38

Still relevant, thanks

Ingeniou5 | 2022-10-31 19:38