Skip to content

Few more badge fixes#81

Open
stonevyt wants to merge 2 commits into
mainfrom
fix-badge
Open

Few more badge fixes#81
stonevyt wants to merge 2 commits into
mainfrom
fix-badge

Conversation

@stonevyt
Copy link
Copy Markdown
Contributor

  • Add subbadge icon to stacked badge
  • Fix bug with modifier

@stonevyt stonevyt requested a review from a team as a code owner December 21, 2020 09:41
Comment on lines +29 to +34
* Badge does not work with LazyColumn and LazyColumnFor, because parent ConstraintLayout of badge
* has parameter preferredWidth(IntrinsicSize.Min). Without this parameter it is not possible to
* to set custom width to badge.
*
* One of the options is to use same modifier for ConstraintLayout and child layout
* (Surface or other) but then subbadgeIcon flies away from badge.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed with @stonevyt , this is a blocker, will need to investigate.

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.

2 participants