parent
39d45bcbc1
commit
5bd7eaa173
35 changed files with 99 additions and 89 deletions
|
@ -24,7 +24,7 @@ pub trait StyledTypography: Styled + Sized {
|
|||
self.font_family(ui_font_family)
|
||||
}
|
||||
|
||||
/// Sets the text size using a [`UiTextSize`].
|
||||
/// Sets the text size using a [`TextSize`].
|
||||
fn text_ui_size(self, size: TextSize, cx: &App) -> Self {
|
||||
self.text_size(size.rems(cx))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue