Welcome, Guest
Username Password: Remember me

Cell title offset
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Cell title offset

Cell title offset 1 year, 8 months ago #1

I'm using SensibleTableView 1.5.8, and currently building against the 3.0 SDK. In every cell the title is offset, so it looks really bad. See the screenshot.
Screen_shot_2010_09_11_at_18.jpg
  • skyfex
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 1
Last Edit: 1 year, 8 months ago by skyfex.

Re: Cell title offset 1 year, 8 months ago #2

The iPhone 3 SDK has a bug that has been fixed in 3.2 and 4.x: when you have a cell of style UITableViewCellStyleSubtitle and you do not set the detailTextLabel.text property, you'll have the cell titles shifted like you have in the screen shot.

For compiling against the iPhone 3 SDK, I recommend searching for UITableViewCellStyleSubtitle in SCTableViewCell.m and SCTableViewSection.m and replacing it with UITableViewCellStyleDefault.

In our new release (due in a couple of weeks), we will also auto detect if you're compiling against SDK 3 and apply this fix automatically.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: Cell title offset 1 year, 8 months ago #3

Thanks. So I assume if I upgrade my SDK it will be fixed too.. I'm downloading an XCode update now, as I suspected my copy may be a bit out of date.
  • skyfex
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 1

Re: Cell title offset 1 year, 8 months ago #4

You're welcome, and yes, this will get fixed if you upgrade your SDK.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
  • Page:
  • 1
Time to create page: 2.63 seconds