hi
How do I clear the background color tabwidget?
Capture.JPG
I want to clear white color background.
hi
How do I clear the background color tabwidget?
Capture.JPG
I want to clear white color background.
You are (I guess) applying an image background to the top-level window without considering how that background cascades down to child widgets. Target your top-level background by (a unique) object name and it will not cascade to child widgets (which in this case will get a default, usually white, background).
See Style Sheet Usage, Customizing the Foreground and Background Colors
By applying the following snippet to your widget's style;
Qt Code:
QWidget#your_widget{background-image:"your-image.png"}To copy to clipboard, switch view to plain text mode
This makes the background image applied for solely the regarding widget - not the widget and it's children.
Last edited by zgulser; 9th July 2013 at 23:17.
Bookmarks