unleash the sizes

This commit is contained in:
2025-09-25 21:30:26 -04:00
parent 06cfeaac6b
commit 5f2dffc189
5 changed files with 24 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ pub struct TextEditBuilder {
}
impl TextEditBuilder {
pub fn font_size(mut self, size: impl UiNum) -> Self {
pub fn size(mut self, size: impl UiNum) -> Self {
self.attrs.font_size = size.to_f32();
self.attrs.line_height = self.attrs.font_size * 1.1;
self