Skip to content

Add ability to color SegmentioCell objects based on position, not current state#125

Open
jordanpwood wants to merge 2 commits intoYalantis:masterfrom
thirdiron:feature/item_color
Open

Add ability to color SegmentioCell objects based on position, not current state#125
jordanpwood wants to merge 2 commits intoYalantis:masterfrom
thirdiron:feature/item_color

Conversation

@jordanpwood
Copy link
Copy Markdown

We need the ability to both tint images and color text that shows up in SegmentioCell objects based on their position. This PR adds overrideTextColor and imageTintColor properties to SegmentioItem objects, and colors them appropriately in the SegmentioCell object. These new parameters are optional when initializing a SegmentioItem object.

@jordanpwood
Copy link
Copy Markdown
Author

Is there interest for merging this into the main line of Segmentio?

@karlbecker
Copy link
Copy Markdown

Just another vote for getting this merged into the master branch!

@Jamonek
Copy link
Copy Markdown

Jamonek commented Apr 23, 2020

Another vote here!

@karlbecker
Copy link
Copy Markdown

karlbecker commented Apr 23, 2020

Hi @Yalantis , think this could get merged into the master branch? It would be really nice to have this ability in the main package, so we can stop using our fork.

Thank you!

@Jamonek
Copy link
Copy Markdown

Jamonek commented May 22, 2020

@PravdaEvgen any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants