mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 23:13:13 -04:00
The allocated width is reduced by the horizontal margin inside `show_content` but the margin is already factored into the content_ui's rect. This causes both text and frame (not shown here) to be `2.0 * margin.x` too short. Before:  After:  (*The blue rect is the TextEdit's (expected) final size.) Co-authored-by: Georg Weisert <georg.weisert@freshx.de>