mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Add `extra_text_line_spacing` to control vertical spacing between text lines **Description** This PR adds a new `Spacing::extra_text_line_spacing` field to control additional vertical spacing between lines of text. The spacing is applied to text layout by adjusting `TextFormat::line_height` based on the font row height plus the configured extra spacing. This improves text readability and allows consistent line spacing customization for widgets such as `TextEdit` and `Label`. --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>