egui/crates
zaaarf ff7a3832b6
TextEdit hint text styling (#4517)
Simply adds a `hint_text_font` (any suggestions for a better name?
hint_text_style seemed misleading as it doesn't only accept `TextStyle`)
method to the TextEdit builder that allows to set the styling
(specifically, a `FontSelection`) for the hint text.

My personal use-case for this was having body-sized hint text in a
heading-sized TextEdit, but I'm sure there's more out there.

The PR shouldn't break compatibility, as it's stored as an `Option` that
defaults to the `font_id` (which was the only behaviour prior to this)
when empty.

It looked too trivial to add something to the actual demo, but I have it
locally, so let me know if I should commit that.

Ran the check script locally, had no complaints.
2024-05-27 17:28:03 +02:00
..
ecolor Move dependencies to workspace (#4495) 2024-05-14 11:02:49 +02:00
eframe Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui TextEdit hint text styling (#4517) 2024-05-27 17:28:03 +02:00
egui-wgpu Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui-winit Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui_demo_app Move dependencies to workspace (#4495) 2024-05-14 11:02:49 +02:00
egui_demo_lib Add improved pixel alignment test with alternating white/black lines (#4537) 2024-05-24 15:55:36 +02:00
egui_extras Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui_glow Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui_plot Do no use the ahash reimport (#4504) 2024-05-27 16:24:50 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Move dependencies to workspace (#4495) 2024-05-14 11:02:49 +02:00
epaint Don't panic when replacement glyph is not found (#4542) 2024-05-27 11:53:06 +02:00