mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Update crates/egui/src/widgets/text_edit/builder.rs
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
@@ -576,7 +576,7 @@ impl TextEdit<'_> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Push prefix to the left and enable alignment for the main text
|
// Push prefix to the left and enable alignment for the main text
|
||||||
if align.0[0] != Align::LEFT {
|
if align.x() != Align::LEFT {
|
||||||
atoms.push_right(Atom::grow());
|
atoms.push_right(Atom::grow());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user