Introduce keyed::Column widget

This commit is contained in:
Héctor Ramón Jiménez 2023-09-04 02:55:09 +02:00
parent 1a1da6a1f0
commit 34495bba1c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 490 additions and 11 deletions

View file

@ -27,6 +27,8 @@ impl Paragraph {
}
pub fn with_text(text: Text<'_, Font>, font_system: &FontSystem) -> Self {
log::trace!("\nAllocating paragraph: {}", text.content);
let mut font_system = font_system.write();
let mut buffer = cosmic_text::Buffer::new(