Support configurable LineHeight in text widgets
This commit is contained in:
parent
8e8808f0e1
commit
9499a8f9e6
24 changed files with 337 additions and 42 deletions
|
|
@ -14,9 +14,12 @@ pub struct Text<'a> {
|
|||
/// The color of the [`Text`], in __linear RGB_.
|
||||
pub color: Color,
|
||||
|
||||
/// The size of the [`Text`].
|
||||
/// The size of the [`Text`] in logical pixels.
|
||||
pub size: f32,
|
||||
|
||||
/// The line height of the [`Text`].
|
||||
pub line_height: text::LineHeight,
|
||||
|
||||
/// The font of the [`Text`].
|
||||
pub font: Font,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue