Qt-Frameless-Window-DarkStyle icon indicating copy to clipboard operation
Qt-Frameless-Window-DarkStyle copied to clipboard

The button background color isn't applied in programatically created QPushbuttons

Open thinium opened this issue 4 years ago • 1 comments

I have a few QPushbuttons in my view. They are programmatically added to the view. While the text color works fine in the buttons, the background color remains white in the Light theme on Mac. Here is a snapshot:

Screen Shot 2020-04-04 at 19 58 08

thinium avatar Apr 05 '20 11:04 thinium

try applying the stylesheet after creating the buttons

kollya avatar Apr 22 '20 01:04 kollya