I have created a custom UITableViewCell. It has 2 rows, a label on the first row and a set of buttons on the second row. Total height 65 pix.
To draw this in my table I have implemented a:
This do cause the row height to be 66pix but it makes my label cover the entire cell height. So the label gets centered and hides the buttons underneath. I've attached a screenshot. When you select the cell itself you can see that there are buttons there but only the right most button is actually clickable.
How can I get my label to stay put?
thanks!
To draw this in my table I have implemented a:
Code:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
return 66;
}
This do cause the row height to be 66pix but it makes my label cover the entire cell height. So the label gets centered and hides the buttons underneath. I've attached a screenshot. When you select the cell itself you can see that there are buttons there but only the right most button is actually clickable.
How can I get my label to stay put?
thanks!