mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Tweak line spacing for new paragraphs
This commit is contained in:
@@ -340,7 +340,7 @@ impl Font {
|
|||||||
row.y_max += cursor_y;
|
row.y_max += cursor_y;
|
||||||
}
|
}
|
||||||
cursor_y = paragraph_rows.last().unwrap().y_max;
|
cursor_y = paragraph_rows.last().unwrap().y_max;
|
||||||
cursor_y += row_height * 0.4; // Extra spacing between paragraphs. TODO: less hacky
|
cursor_y += row_height * 0.2; // Extra spacing between paragraphs. TODO: less hacky
|
||||||
|
|
||||||
rows.append(&mut paragraph_rows);
|
rows.append(&mut paragraph_rows);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user