Why I cant be able to change the UITableViewCell detailTextLabel's frame (just the label's position)?
Posted
by
Simon
on Stack Overflow
See other posts from Stack Overflow
or by Simon
Published on 2011-01-08T04:36:41Z
Indexed on
2011/01/08
8:53 UTC
Read the original article
Hit count: 160
iphone
Hi..
I am having a table view with default UITableViewCell of style UITableViewCellStyleValue2. I just want to move detailTextLabel few pixels to the right. I know it makes no sense to adjust its width and height :). I am trying to set detailTextLabel's frame with my x and y value. But its not affecting the its frame. I prefer to use default UITableViewCell, in this case, over a customized cell because the default UITableViewCell automatically manages the text alignment and centering of the labels..
- How to change UITableViewCell detailTextLabel's frame?
- Am I allowed to change its frame?
Thanks everyone..
© Stack Overflow or respective owner