vicpenap / PrettyKit

PrettyKit for iOS is a small set of new widgets and UIKit subclasses that gives you a deeper UIKit customization. You will be able to change their background color, add gradients, shadows, etc.
http://vicpenap.github.com/PrettyKit
Other
1.22k stars 155 forks source link

Separator shadow issue in grouped table #15

Closed soulbuzz closed 12 years ago

soulbuzz commented 12 years ago

If you observe closely the place where the separator is drawn the shadow is broken. This happens even if the separator is not drawn. I am assuming this is some kind of margin between cells being drawn and its shadow path

vicpenap commented 12 years ago

Yeah, I'm aware of that. I haven't found the way to solve it yet, so ideas about that are welcome.

soulbuzz commented 12 years ago

what is causing it ?. I have not looked into the code

vicpenap commented 12 years ago

In PrettyTableViewCell.m this is method that drops the shadow: drawBorder:shadow:

vicpenap commented 12 years ago

Issue was fixed in the commit mentioned above.