Skip to main content

data

Function data 

Source
pub fn data(text: impl Into<String>) -> RichText
Expand description

The text of one tree, table or list row that is still a plain egui widget, in the monospace family at the size the widget’s style gives it (owner 2026-11-28: those widgets need same-width characters, whatever the UI font). ui_kit rows use Text::Data and need neither this nor data_rows.