hi,
how to wrap the text in QPUSHBUTTON?
Thanks
Bala
hi,
how to wrap the text in QPUSHBUTTON?
Thanks
Bala
try this:
QPushButton("123\n456")
BalaQT (16th September 2009)
thanks,
it works
i coded manually. but is there anyother ways to do it automatically?
Qt Code:
int wrapLen=30; if(strCaption.length()>wrapLen) { strCaption=strCaption.left(wrapLen)+"\n"+strCaption.mid(wrapLen,strCaption.length()-wrapLen+1); }To copy to clipboard, switch view to plain text mode
Thnks
Bala
Bookmarks