PySide QPushButton Color Change Not Working - 3ds Max 2017 Windows 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
*** Colored text coordinates with image below to show whats going on. Sorry I know it may be harsh on the eyes. ***
Hi there,
I am building a UI with PySide in 3DS Max and something I really like doing is using color coding for easy/intuitive UI use. I recently tried to change the background color of some of the QPushButtons on my UI using the setStylesheet("background-color:rgb(110,208,110)") command in PySide. Any color I attempted to change it to just turned it very light grey (basically white).
That being said, it seems that changing the background color of most other kinds of UI element (Integer Field, Float Field, Text Field, Menu Box, etc) works fine. And changing any kind of text using setStylesheet("color:rgb(110,208,110)") works perfect too. So what is the deal with the the buttons? Is this a bug in the build of PySide that 3ds Max (2017) currently supports? Or am I doing something wrong? Thanks!