Page 1 of 1

Resize back button with no text

Posted: Thu Aug 14, 2014 9:44 am
by Adrian Stoch

I have a back button in my header with no text. How can I resize the image space to fit the icon when there is no text? I can see how to do this with icons in buttons, but there is no "notext" option for the back button in the header.


Resize back button with no text

Posted: Thu Aug 14, 2014 10:49 am
by Evgene Karachevtsev

Hello Adrian,

You may call this code on event load for the page with a button :
pre$("[data-rel=back]").removeClass("ui-btn-icon-left").addClass("ui-btn-icon-notext");/pre


Resize back button with no text

Posted: Thu Aug 14, 2014 10:54 am
by Adrian Stoch

Thanks Evgene. Works perfectly.