Unsolved Styling / background color of QPrintPreviewWidget
-
Hi,
is there a way to customise the QPrintPreviewWidget background color. The area where the pages are painted on...?Greetings
Nando -
Hi,
Out of curiosity, what are you trying to achieve ?
-
I just want to adjust the background color to our style guide.
-
You can try with a style sheet but I am not sure it's not a native widget like the QPrintDialog.
-
@SGaist Hi, i tried it with stylesheet, but it seems not to work. I just need to change the default background color of the QPrintPreviewWidget...
-
How did you do that ?
-
@SGaist I tried like this:
QPrintPreviewWidget { background-color: #FEA0A0; }
-