Merge branch 'main' into picker
This commit is contained in:
commit
a3bd04fed2
13 changed files with 187 additions and 49 deletions
|
@ -189,6 +189,10 @@ impl TextStyle {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn line_height_in_pixels(&self, rem_size: Pixels) -> Pixels {
|
||||
self.line_height.to_pixels(self.font_size, rem_size)
|
||||
}
|
||||
|
||||
pub fn to_run(&self, len: usize) -> TextRun {
|
||||
TextRun {
|
||||
len,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue