Hello everybody,
For the need of a custom player, I need to have very small push buttons that will command the play/pause/stop/etc functions. They will contain a very small pixmap (less than 10 pixels) and should not be larger than the pixmap's size.
I have tried playing with QPushButton and QToolButton's setMinimumSize, but unfortunately the button will not get as small as I need - some fixed minimum size seems to be hardcoded or so. Would someone have a suggestion as to how I could obtain the desired effect without implementing a custom class? As much as possible, I'd like these buttons to be close to the user's style.


Reply With Quote
Indeed, changing setMaximumSize seems to be doing the desired effect. Thanks for pointing my absent-mindedness.

Bookmarks