spacer placed at the end of the row is rendered after it (<br class="ui-keyboard-button-endrow">): http://jsfiddle.net/egb3a1sk/922/