Since layout objects don't have a ".setStyleSheet()" attribute, how do I set the background color for a specific layout keeping the possibility of expanding the content of the layout when maximizing the window?
I am trying to have a background like a transparent style, each layout on my window would have a transparent background, and all of them on top of a general background ''you can see the images'
This is the Layout on Qt-designer:
This is the Layout after maximizing the window, it looks good!
I just added the layout once on an empty QWidget and once on an empty frame and set the StyleSheet on the widget/frame. but when I maximize the window, the widget or the frame is maximized, NOT the content on the layout.
This is the Layout with widget/frame as transparent background on Qt-designer:
This is the Layout after maximizing the window, only the widget/frame is maximazed:
I am wondering, how can I do it?
I tried the following solution as I explained above:link