hi,
how to wrap the text in QPUSHBUTTON?
Thanks
Bala
Printable View
hi,
how to wrap the text in QPUSHBUTTON?
Thanks
Bala
try this:
QPushButton("123\n456")
thanks,
it works
i coded manually. but is there anyother ways to do it automatically?
Code:
int wrapLen=30; if(strCaption.length()>wrapLen) { strCaption=strCaption.left(wrapLen)+"\n"+strCaption.mid(wrapLen,strCaption.length()-wrapLen+1); }
Thnks
Bala