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)