• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UITableCellView width decreases when scrolling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: UITableCellView width decreases when scrolling
      • From: Luke Hiesterman <email@hidden>
    • Re: UITableCellView width decreases when scrolling
      • From: "Glenn L. Austin" <email@hidden>
  • Prev by Date: Re: After Photoshop closes a doc
  • Next by Date: Re: UITableCellView width decreases when scrolling
  • Previous by thread: Re: Core Data grinds for 30 min saving SQLite. 10.6 Bug?
  • Next by thread: Re: UITableCellView width decreases when scrolling
  • Index(es):
    • Date
    • Thread