On Apr 14, 2013, at 8:43 PM, Koen van der Drift <koenvanderdr...@gmail.com> 
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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to