QPushButton - stylesheet and arrow



  • Hi,
    I try to create custom menu from QPushbutton. Is there any way to set common arrow on the corner (or right side) of button as it would be menu (i don't want to setMenu() because I don't want that menu)? Setting icon doesn't look good for me, because it is place to close to the button text (this icon should be as near border as it is possible).
    I tried to do this by setting image using stylesheet, but it is not satisfying me, because colors of button should be the same as default colors of QPushbutton buttons, and when I set my image, it is not very pretty.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.