draw letters in tray tiles as far to left as possible

This commit is contained in:
Eric House 2012-07-07 19:55:19 -07:00
parent 7f087181e5
commit 9885d3bf61

View file

@ -973,6 +973,8 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
int origin = rect.left;
if ( Paint.Align.CENTER == align ) {
origin += rect.width() / 2;
} else {
origin -= m_boundsScratch.left - 1;
}
m_fillPaint.setTextAlign( align );
m_canvas.drawText( text, origin, bottom, m_fillPaint );