Set correct text size for text in preedit window
This commit is contained in:
parent
4bbb5cbc1f
commit
fcdf53afde
4 changed files with 25 additions and 11 deletions
|
|
@ -322,7 +322,9 @@ where
|
|||
self.content = Renderer::Paragraph::with_spans(Text {
|
||||
content: &spans,
|
||||
bounds: Size::INFINITY,
|
||||
size: renderer.default_size(),
|
||||
size: preedit
|
||||
.text_size
|
||||
.unwrap_or_else(|| renderer.default_size()),
|
||||
line_height: text::LineHeight::default(),
|
||||
font: renderer.default_font(),
|
||||
horizontal_alignment: alignment::Horizontal::Left,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue