Align text in iced_wgpu on a case-by-case basis
This commit is contained in:
parent
19f6a5e2fd
commit
b549b509c9
5 changed files with 49 additions and 23 deletions
|
|
@ -109,6 +109,7 @@ impl text_input::Renderer for Renderer {
|
|||
},
|
||||
font,
|
||||
bounds: Rectangle {
|
||||
y: text_bounds.center_y(),
|
||||
width: f32::INFINITY,
|
||||
..text_bounds
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue