Hi!
I'm using a custom widget that I've built inheriting from QWidget. The UI is made in designer. Just a couple of sliders, buttons and checkboxes. No layouts.

When I apply a stylesheet inside QtDesigner (the one integerated in Creator) to change the background color of the form it works as expected and when I Preview the form it also looks as it should. But when I setup the UI onto my custom Widget (that I am putting in a VBox layout in the mainwindow) only the child widgets of the form have the right background color and not the space in between them which is transparent.

The same thing happens when I setup the UI on a regular QWidget that I put in the main window inside or outside a layout so I don't think there is a problem with my custom QWidget.

Can anyone tell me why this is?

Thank you for your time!
/Tottish

EDIT: It works fine changing the bg-color if I'm using the Pallette.