Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thinium opened this issue Apr 5, 2020 · 1 comment

Comments

@thinium
Copy link

thinium commented Apr 5, 2020

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

@kollya
Copy link

kollya commented Apr 22, 2020

try applying the stylesheet after creating the buttons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants