Skip to content

Remove all formatting API from ListItem and use WidgetText's API instead #4802

Open
@abey79

Description

@abey79

edit: thins have changed with list item 2, but this is still valid. There even is a todo about this in LabelContent.

ListItem accepts a WidgetText as input, so the formatting should happen there so that it doesn't the ListItem logic. Some helper might be needed to "prepare" the WidgetText though, e.g. to honour the re_ui::LabelStyle, etc.

Activity

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

Metadata

Metadata

Assignees

Labels

uiconcerns graphical user interface🏎️ Quick IssueCan be fixed in a few hours or less🚜 refactorChange the code, not the functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions