Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

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

Open
besi opened this issue May 14, 2016 · 2 comments
Open

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

besi opened this issue May 14, 2016 · 2 comments

Comments

@besi
Copy link

besi commented May 14, 2016

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
Copy link

ghaley commented Nov 29, 2016

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
Copy link

ghaley commented Dec 4, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants