Common UI Images Have White Background

I started using Common UI, normally when i place an image on a normal widget it looks like this


if i put the same exact image on a common ui widget it becomes this

How could i solve this?

Are you using CommonButtonBase as the user widget class?

If so, the background grey you see is the default button appearance. You can add a CommonButtonStyle class and set the normal base appearance. If you want to hide it by default, set the tint alpha to zero or Draw As to None.

In your widget, select the top level of the hierarchy and select the style class in the details panel.

1 Like

Ohh i get it now, i am new to CommonUI and didnt know there was a style option there, i thought it was something related to the image i am using.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.