more test stuff

This commit is contained in:
iris committed 2025-08-28 01:52:00 -04:00
1 parent 28935e33e9
commit d7d67e4ed3
3 files changed
+17 -6

No files matched your search

+5 -1
View File
@@ -1,4 +1,4 @@
use cosmic_text::Metrics;
use cosmic_text::{Family, Metrics};
use crate::prelude::*;
@@ -18,6 +18,10 @@ impl Text {
self.attrs.color = color;
self
}
pub fn family(mut self, family: Family<'static>) -> Self {
self.attrs.family = family;
self
}
pub fn line_height(mut self, height: f32) -> Self {
self.attrs.line_height = height;
self