Hi Alex.
To change image size and get centered your button text you can use following CSS code:
pre
/* lets assume that you want thubnail height = 100px. So XX = "100px". */
[name="mobilelist_30"].ui-listview .ui-li-has-thumb .ui-btn img:first-child{
max-width: none;
}
[name="mobilelist_30"] a.ui-btn{
/* Replace "100px" with "XX". */
height: 100px;
}
/* Adjust list item height*/
.ui-page .ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-page .ui-li-static.ui-li-has-thumb {
min-height: 0px;
}
[name=mobilelist_30] {
display:table;
width:100%;
}
[name=mobilelist_30] h3{
display:table-cell!important;
vertical-align:middle;
/* Replace "100px" with "XX". */
height: 100px;
}
[name=mobilelist_30].ui-listview li a h3 {
/* you should adjust this left padding in accordance with your needs */
padding-left: 40px;
}
/pre
Also. If you want to make "line break" in your button text you can use "
" tag inside this text.
For example following code(inside ADD JS to the TEXT property) could be used to insert this line break.
pre
var returnString = "hello" + "
" + "world";
//var returnString = value + "
" + "Second line";
return returnString;
/pre
Regards.