UITableCellView width decreases when scrolling
UITableCellView width decreases when scrolling
- Subject: UITableCellView width decreases when scrolling
- From: Koen van der Drift <email@hidden>
- Date: Sun, 14 Apr 2013 23:43:16 -0400
I'm using a custom UITableCellView, with a UIView where I do all the drawing as a subView of the contentView, more or less following the tutorial on this page: http://giorgiocalderolla.com/blog.html#customizing-uitableviewcells-a-better-way
I noticed that when I scroll the table, at one point the width of the contentView decreases from 320 to 300, and that messes up the drawing I do inside the view. What I figured out so far is that this happens when the cell's accessory is set to UITableViewCellAccessoryDisclosureIndicator. When it is set to UITableViewCellAccessoryNone, the width stays at 320, and the drawing is fine. But I'd like to have the disclosure button. The style of the cell is UITableViewCellStyleDefault.
Any ideas or suggestions?
Thanks,
- Koen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden