3 ms·
https://docs.rs/egui/latest/egui/struct.Context.html#method.set_pixels_per_point https://docs.rs/egui/latest/egui/struct.Context.html#method.... Maybe you want
by sndwnm 2y ago
https://docs.rs/egui/latest/egui/struct.Context.html#method.set_pixels_per_point https://docs.rs/egui/latest/egui/struct.Context.html#method....
Maybe you want to scale all the UI elements? This has the same zooming effect as pressing Ctrl-+. Otherwise why not loop and set all the font sizes you want?
https://docs.rs/egui/latest/egui/style/struct.Visuals.html https://docs.rs/egui/latest/egui/style/struct.Visuals.html
I don't recall there being a high contrast option or slider, so your best bet might be trying to modify the values in this struct, or if that's not enough, then the values in the `widgets` field of it. You can customize every color in the UI.