QFrame background color overpaints the content widgets
Hi,
There is a horizontal layout which includes QLabels ( used to dislay images ). I've created a QFrame instance and set its layout to this layout. When I set background color of QFrame to black, QLabels are not displayed. It overpaints the content widgets on the layout.
Could you please help about it ?
Re: QFrame background color overpaints the content widgets
So the images are displayed when the background color is not black?
Or are you currently not displaying images, only some placeholder text?
Cheers,
_
Re: QFrame background color overpaints the content widgets
Yes, the images ( displayed via QLabel ) are displayed when the background color is white. The images ( themselves ) can not be displayed, not text.
Re: QFrame background color overpaints the content widgets
Ok, strange.
What if you call setAutoFillBackground(true) on the labels?
Otherwise you'll have to post some code.
Cheers,
_