Skip to content

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

@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.

Metadata

Metadata

Assignees

No one assigned

    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