alexrozanski / PXSourceList

Source List control for the Mac
Other
638 stars 76 forks source link

Count indicator (pill-shape) randomly changes width #57

Open besi opened 8 years ago

besi commented 8 years ago

Hy there, I am using the latest version of PXSourceList.

When I reload my navigation, I get varying sizes for the pill-shapes that indicate the count of objects for a given filter.

screen shot 2016-05-14 at 22 02 15

So in my examle bug seems to have the right size, enhancement is too thin and proposal seems to wide.

Thank you in advance for any help.

ghaley commented 7 years ago

I am seeing this too in version 2.0.7. Looks like the background or view is not resized when the badge value changes.

ghaley commented 7 years ago

Quick follow up. You can fix this by marking the PXSourceListTableCellView as needing layout when you change the badge value. Lots of ways to do this, depending on where you want to code the fix. I chose to do it outside of the PXSourceList framework, when I am changing the badge values.