|
How to wrap words in checkbox,push buttons
Is it possible to wrap sentence thru 'checkbox.setText()?
Basically i need to keep text of check box in 2 lines.
if I do same thing in case of label --label.setText("Hello\nWorld").
o/p--Hello
World
but in case of check box or push button i.e. chkbox.setText("Hello\nWorld");
O/p---Hello[]World..
Infact no escape sequence(\n,\f,\r etc) is working in any of the button case.
|