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

Background color config option #363

Open
ASankaran opened this issue Aug 1, 2016 · 0 comments
Open

Background color config option #363

ASankaran opened this issue Aug 1, 2016 · 0 comments

Comments

@ASankaran
Copy link

ASankaran commented Aug 1, 2016

I have a large QScrollArea (roughly 1800 by 46600) which contains a Graphics Layout Widget and I want the background color to be white with the foreground items being black. To do that I have the following two lines of code at the beggining of my program.

pg.setConfigOption('background', 'w')
pg.setConfigOption('foreground', 'k')

However when I scroll down in the QScrollArea the background for the Graphics Layout Widget background switches back to black about 3/4 of the way down.

Versions:

qt             4.8.7
pyqt           4.11.4
pyqtgraph      0.9.10
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

1 participant