1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

expose egui::TextFormat

This commit is contained in:
Emil Ernerfeldt
2021-10-01 19:25:15 +02:00
parent 981b812f68
commit 863e6cb07d
2 changed files with 6 additions and 5 deletions

View File

@@ -401,7 +401,7 @@ impl SubTree {
// ----------------------------------------------------------------------------
fn text_layout_ui(ui: &mut egui::Ui) {
use egui::epaint::text::{LayoutJob, TextFormat};
use egui::text::LayoutJob;
let mut job = LayoutJob::default();