I am just having a few minor issues when trying to align some textLabels within a table. It would seem that alignment (certainly right alignment) of text does not take into account any cell spacing specified on a table or the border if one is visible. What you end up with is the text is truncated by the size of the cell spacing and border.

Is this a bug or by design? If by design, how can I prevent it from occuring?

Strangely I can't seem to be able to reproduce it now; I was stuck on it for quite a while earlier, my text was being truncated slightly at the right, when I removed the cellSpacing the problem went away, now when I create a small test case I'm not seeing the same problem.