Fix horizontal text alignment
This commit is contained in:
parent
35c0e14452
commit
179a34d37b
23 changed files with 141 additions and 67 deletions
|
|
@ -450,7 +450,10 @@ impl editor::Editor for Editor {
|
|||
fn min_bounds(&self) -> Size {
|
||||
let internal = self.internal();
|
||||
|
||||
text::measure(buffer_from_editor(&internal.editor))
|
||||
let (bounds, _has_rtl) =
|
||||
text::measure(buffer_from_editor(&internal.editor));
|
||||
|
||||
bounds
|
||||
}
|
||||
|
||||
fn update(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue