GUI background color
Solved
General and Desktop
-
Hi all,
I've basic question.
I have got an image which is attached to a label with a white background colour. But the GUI default background colour is kind of grey, as you see in the picture.How do I change it to match the picture background?
-
Hi
One option is stylesheetMainWindow->setStyleSheet(QString::fromUtf8("#centralWidget {\n"
"background-color: rgb(255, 255, 255);\n"
"}"));The #centralWidget is the Widget object name. make sure to change to match yours.
-
@mrjj Thanks for your suggestion :)
-