Re: [PyQt] Determine size of a button

2011-10-16 Thread David Boddie
On Fri, 14 Oct 2011 02:39:49 -0700 (PDT), Joe M wrote: The question is: is there a way in which I can tell how big the buttons will be without having to create them in the first place? Or any other hints? You can make estimates based on the application's font size. However, there are other

[PyQt] Determine size of a button

2011-10-14 Thread Joe M
Hello, I am writing an application (a songbook). In one of the parts, I have a custom widget, that displays some information in lines. One line looks like this QLabel (with fixed size) QPushButton QPushButton an instance looks like Genre: Rock Folk Metal (genre = label, Rock = first