4 ms·
I was unable to find a global font-size option, isn't there any? I can modify the fonts individually, but that's not what I want. I also wish for a global cont
by bmacho 2y ago
I was unable to find a global font-size option, isn't there any? I can modify the fonts individually, but that's not what I want.
I also wish for a global contrast option (preferably where the day/night toggle is). The default night theme is too low contrast for me right now, coming from a brightness that is perfect for HN.
- sndwnm 2y agohttps://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.