Re: UITableCellView width decreases when scrolling
Re: UITableCellView width decreases when scrolling
- Subject: Re: UITableCellView width decreases when scrolling
- From: "Glenn L. Austin" <email@hidden>
- Date: Sun, 14 Apr 2013 21:01:36 -0700
On Apr 14, 2013, at 8:43 PM, Koen van der Drift <email@hidden> wrote:
> 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.
You can't have the full 320 pixels in width and still have the disclosure indicator. Well, you can, but you won't be happy with the result (and likely won't get it past Apple's reviewers).
--
Glenn L. Austin, Computer Wizard and Race Car Driver <><
<http://www.austin-soft.com>
_______________________________________________
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