Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't change UITableViewCell size in Interface Builder

Does anyone have the same problem as I do? ... I've upgraded to the iPhone SDK 3.2 and I am unable to resize UITableViewCell object in my XIB file (usually I've been just resizing the view but now the cell has the same size and there is just a grey are around) ... btw, I've tried to reinstall twice including one deep reinstall.

like image 332
Ondrej Rafaj Avatar asked Feb 19 '10 02:02

Ondrej Rafaj


2 Answers

Hey I had this same issue. This is old, so maybe you found a solution already, but for those who haven't...

Select the cell in IB, and bring up the size panel (by clicking to it or with command-3). Under size & position, set to frame, and edit the height box there.

Easy, huh. Don't know how we missed this.

like image 133
Justin Avatar answered Sep 19 '22 07:09

Justin


The tableviewcell size can be set by dragging the cell frame in the interface builder. Then implement then tableview delegate tableView heightForRowAtIndexPath for the particular cell you want to have a different height.

like image 22
user698333 Avatar answered Sep 18 '22 07:09

user698333