Remove all formatting API from ListItem
and use WidgetText
's API instead
#4802
Labels
🏎️ Quick Issue
Can be fixed in a few hours or less
🚜 refactor
Change the code, not the functionality
ui
concerns graphical user interface
edit: thins have changed with list item 2, but this is still valid. There even is a todo about this in
LabelContent
.ListItem
accepts aWidgetText
as input, so the formatting should happen there so that it doesn't theListItem
logic. Some helper might be needed to "prepare" theWidgetText
though, e.g. to honour there_ui::LabelStyle
, etc.The text was updated successfully, but these errors were encountered: