indentationLevel property doesn't appear to do anything?
Posted
by
JoBu1324
on Stack Overflow
See other posts from Stack Overflow
or by JoBu1324
Published on 2009-08-20T01:35:09Z
Indexed on
2010/12/24
19:54 UTC
Read the original article
Hit count: 163
objective-c
|iphone
I'm have a number rows I'm inserting into a table using -insertRowsAtIndexPaths:withRowAnimation, and I would like the rows to be indented from the left to distinguish them from the rest of the cells. The indentationLevel property of UITableViewCell looks like it's exactly what I need, but it doesn't seem to do anything. Here's the code I'm using to set the indentation level (dot syntax doesn't make a difference):
[cell setIndentationWidth:10];
[cell setIndentationLevel:1];
Is indentationLevel what I want, or should I be looking elsewhere?
© Stack Overflow or respective owner