Custom App ui file discrepancy

Hi everyone,

I’m working on a custom app for Houdini but I’m encountering something I can’t figure out. I’m creating a dialog UI through qt designer. Everything fine so far. But when I call the ui through engine.show_dialog() I get a completely get a different look as when I show the dialog through regular qt and parent the window to the houdini main window. They both call the same ui class and when calling the dialog through shotgrid doesn’t look like the ui file at all. I’m suspecting it inherits a certain stylesheet coming from the main engine however this is something I don’t want. I would like to have control over the look of my ui but I can’t figure it out. I attached the an image with the different results

Anyone knows how to fix this?

Thanks in advance!