mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
`TextEdit` unpacked `AtomLayoutStyle` and re-applied the pieces by hand, which silently dropped `align2` and `image_tint` and made a per-widget gap lose to the theme's. Go through `AtomLayoutStyle::apply`, like `Button` and `Checkbox` do, and add a `prefix_suffix_color` so the atoms around the input keep the general text color rather than the text edit's own. Tidy the provider while here: use `Widgets::state`, split the read-only `fill`/`stroke` decision in two, and take the expansion correction from `Frame::expand_in_place`. Drop `TextVisuals::from_style`, `UiStack::inherited`, `StyleArgs::inherited` and `HasClasses::last_class`, none of which have callers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>