egui/crates
Georg Weisert 808dc0103a
Fix `TextEdit` being too short whenever there is horizontal margin (#4005)
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:

![image](https://github.com/emilk/egui/assets/23122431/6a9a0264-3fc0-48b7-b462-82120ed47fcf)

After:

![image-1](https://github.com/emilk/egui/assets/23122431/ffef9edc-d571-4fca-96cf-c2e42e2f0057)
(*The blue rect is the TextEdit's (expected) final size.)

Co-authored-by: Georg Weisert <georg.weisert@freshx.de>
2024-02-10 09:36:24 +01:00
..
ecolor Release 0.26.0 - Text selection in labels 2024-02-05 17:28:10 +01:00
eframe Fix high CPU usage on Windows when app is minimized (#3985) 2024-02-06 13:24:49 +01:00
egui Fix `TextEdit` being too short whenever there is horizontal margin (#4005) 2024-02-10 09:36:24 +01:00
egui-wgpu Improve panic message in egui-wgpu when failing to create buffers (#3986) 2024-02-10 09:15:30 +01:00
egui-winit Add F21 to F35 key bindings (#4004) 2024-02-08 10:57:32 +01:00
egui_demo_app Make `egui_wgpu::renderer` a private module (#3979) 2024-02-05 15:12:59 +01:00
egui_demo_lib egui demo: Fix space reserved for source code link (#3983) 2024-02-10 09:17:12 +01:00
egui_extras Add scroll bar visibility option to Table widget (#3981) 2024-02-06 13:28:20 +01:00
egui_glow egui_glow: Only disable sRGB framebuffer on supported platforms (#3994) 2024-02-08 08:54:14 +01:00
egui_plot Release 0.26.0 - Text selection in labels 2024-02-05 17:28:10 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Use more workspace dependencies (#3975) 2024-02-05 12:43:58 +01:00
epaint Release 0.26.0 - Text selection in labels 2024-02-05 17:28:10 +01:00