Function hello_egui_utils::measure_text
source · pub fn measure_text(ui: &mut Ui, text: impl Into<WidgetText>) -> Vec2
Expand description
Returns the size of the text in the current ui (based on the max width of the ui)
pub fn measure_text(ui: &mut Ui, text: impl Into<WidgetText>) -> Vec2
Returns the size of the text in the current ui (based on the max width of the ui)