<li class="ui-li-1line-btn1">List item 2<div data-role="button" data-inline="true" data-icon="arrow-r">Call Icon</div></li>
<li class="ui-li-1line-btn1">List item 3<div data-role="button" data-inline="true" data-icon="arrow-r">Longer Call Icon</div></li>
<li class="ui-li-1line-btn1">List item 4<div data-role="button" data-inline="true" data-icon="call" data-iconpos="right">Icon Text</div></li>
+ <li class="ui-li-1line-btn1">List item 3<div data-role="button" data-inline="true" data-style="circle">data-style, circle</div></li>
<li data-role="list-divider">Only icon buttons for Tizen</li>
<li class="ui-li-1line-btn1">data-icon = "call" <div data-role="button" data-inline="true" data-icon="call"></div></li>
<li class="ui-li-1line-btn1">data-icon = "rename" <div data-role="button" data-inline="true" data-icon="rename"></div></li>
+ /* TIZEN style markup */
+ buttonStyle = el.jqmData("style");
+
-+ if ( buttonStyle == "circle" ) {
++ if ( buttonStyle == "circle" && !($(el).text().length > 0) ) {
+ /* style : no text, Icon only */
+ buttonClass += " ui-btn-corner-circle";
+ buttonClass += " ui-btn-icon_only";
+ buttonClass += " ui-btn-icon_only";
+ } else if ( buttonStyle == "edit" ) {
+ buttonClass += " ui-btn-edit";
-+ } else if ( buttonStyle == "round" ) {
++ } else if ( buttonStyle == "round" || ( buttonStyle == "circle" && $(el).text().length > 0 ) ) {
+ buttonClass += " ui-btn-round";
+ }
+