3
我正在使用帶有小標題的表格單元格,並希望我的文字變得更大一些。大小UITableViewCell與UITableViewCellStyleSubtitle重疊
cell.textLabel.font = [UIFont boldSystemFontOfSize:30];
和細胞高度heightForRowAtIndexPath
更改爲80
我碰上了textLabel
是成功的一半由detailTextLabel
隱藏的問題。我很驚訝這個處理不當。我試圖改變標籤的邊界,但它沒有效果。我該如何設置「位置」,「內容矩形」或其他任何有大的textLabel
和小的detailTextLabel
?
具有完全相同的問題。也許這可以幫助: http://stackoverflow.com/questions/1311935/nsstring-is-cut-off-prematurely-in-a-uitableviewcell-in-3-0-but-looks-fine-in-3 – mentat 2010-01-12 14:22:41