Wednesday, 4 September 2013

Set QButton height

Set QButton height

I probably should post this in multiple questions.
I need to know two things, I have a simple window that all it has is a
button within it, set like so:
self.spherize = QtGui.QPushButton("Spherize")
I'm just wondering how to set the height of this button?
I've tried the following but it didn't work:
self.spherize.setHeight(50)
Also, where can I find propper docs for things like this with example code?

No comments:

Post a Comment