Support configurable LineHeight in text widgets
This commit is contained in:
parent
8e8808f0e1
commit
9499a8f9e6
24 changed files with 337 additions and 42 deletions
|
|
@ -19,8 +19,10 @@ pub enum Primitive {
|
|||
bounds: Rectangle,
|
||||
/// The color of the text
|
||||
color: Color,
|
||||
/// The size of the text
|
||||
/// The size of the text in logical pixels
|
||||
size: f32,
|
||||
/// The line height of the text
|
||||
line_height: text::LineHeight,
|
||||
/// The font of the text
|
||||
font: Font,
|
||||
/// The horizontal alignment of the text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue