Can't get the textAlignment to work, it always looks like UITextAlignmentLeft, regardless of my settings.
I want to make it centered.
SCTableViewCell *newCaptchaCell = [SCTableViewCell cellWithText:LocalizedString(@"NewCaptchaButton")];
newCaptchaCell.textLabel.textAlignment = UITextAlignmentRight;
newCaptchaCell.textLabel.textColor = [UIColor redColor];
[section2 addCell:newCaptchaCell];
textColor works.
I also tried this
- (void)tableViewModel:(SCTableViewModel *) tableViewModel willConfigureCell:(SCTableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
cell.textAlignment = UITextAlignmentCenter;
}
no difference...
But this works for plain UITableViewCells.
Any help is greatly appreciated.