I’m making a QT UI for a Maya tool and trying to use QToolButton for the first time. The problem that I’m encountering is that the QToolButton doesn’t seem to inherit any of it’s properties until it’s clicked once so it doesn’t look like an actual button when launching the initial UI.
Above you can see two QToolButtons and a QPushButton. The first QTool has a background color, the second is default, and the QPush also just has default settings. The QPush looks like an actual button out of the box, while the QTools don’t. After I click each of the QTools once, my results look like this:
The first QTool now inherits its background color, the second QTool gets its default border(my desired goal). Is there something I have to do to force QToolButtons to be “active” without having been clicked at all?