How do I do a manual line break in an jQuery Mobile button? -
i want have button multiple lines. add white-space:normal not allow manual line breaks. have tried <br> , 
 don't work jqm button text only. note not want automatic line-breaks, want decide myself put them. nor want change height of button. no, want add linebreaks.
i.e. want able have button with
text
like
this
instead of
text this
is there way around limitation?
ok, there way it. since use gwt can do
jqmbutton b = new jqmbutton("dummy text"); b.getelement().setinnerhtml("this<br>text<br>works");
Comments
Post a Comment