Hi,
I have a small peice of code
Qt Code:
menu->addAction("Testaaaaaaaaaaaaaaaaaaaaa"); menu->addAction("Test1"); menu->addAction("Test2"); pushButton->setMenu(menu);To copy to clipboard, switch view to plain text mode
This will add menu to pushbutton, when i click menu it starts showing menu from left handside i.e start of QPushButton (bottom left) but i would like the menu to start drawing from right hand side of QPushButtoh i.e. end of QPushButton (bottom right), can some one guide me how is this possible..?
Thanks..!


Reply With Quote

Bookmarks