iphone - UITableViewCell indentation centering imageView? -


does know of reason why indentation of uitableviewcell center cell's uiimageview horizontally? in theory (and judging screenshots , apps i've seen in past), imageview should align right, keeping consistent space 2 labels. in case (screenshot below), doesn't. default uitableviewcell uitableviewcellstylesubtitlestyle. clues? i've been looking @ quite while , can't seem figure out.

update: apparently uitableviewcellstyledefault doesn't have issue - imageview's right-aligned (single) label. why there difference between 2 styles beyond me.

uitableviewcell

(green/blue areas added illustrate issue)

how uitableviewcell draws contentview not how draw subviews in uiview. not modify frame property of imageview, textlabel , detaillabel. guess gets views graphic references , dealing custom drawing.

which means, there no control. unfortunately have need customizations. enough have custom content view, not subclass whole table view cell class.


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -