harmodrew
10th August 2010, 09:15
Hello!
I'd like to set the background image of one QPushButtons, but I'd like a scaled baskground, so the image should adapt to the button dimnsion.
Using SetStyleSheet did'nt work for me. I tried even with che QPixmap::scaled() assigning it to the SetIcon method of the button but the image is shown very little...anyone has any idea?
Thanks
I'd like to set the background image of one QPushButtons, but I'd like a scaled baskground, so the image should adapt to the button dimnsion.
Using SetStyleSheet did'nt work for me. I tried even with che QPixmap::scaled() assigning it to the SetIcon method of the button but the image is shown very little...anyone has any idea?
Thanks