mirror of
https://github.com/storytold/egui.git
synced 2026-11-24 19:42:51 +01:00
Broken out of #8617. * `TextEdit::margin` now makes room for the stroke inside the margin (like the theme does), so the stroke width changing on hover/focus no longer causes a layout shift. * `TextEdit::clip_text(false)` now expands the widget to make all text visible, as documented, instead of being capped at `desired_width`. * The default `TextEdit` inner margin is now `spacing.button_padding`, and the theme gives `TextEdit` the same min height (`interact_size.y`) as a `Button`, so they always have the exact same height (previously off by 1px). Tests added to `test_widget_heights.rs`: text edit included in the matching-heights test (now run for several `interact_size.y` values), size stable on hover/focus (with and without custom margin), and unclipped text edit grows to fit text. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Test apps
Some application to tests various parts of egui and eframe.
At some point it would be nice to have automatic screenshot regression tests for these.