News for hackers. Stuff that matters.
Re:Egui 0.27 – easy-to-use immediate mode GUI for Rust by Filligree on Wednesday March 27, 2024 @02:26PM (#39842831)
Egui is reasonably easy to work with, but the default look and feel... remind me of Windows 3.11 somehow?

It feels dated, and I'm not sure if that's a reflection on me or the toolkit, but it makes me want to reach for something that has better default aesthetics. I'm not even sure if it's possible to fix in Egui or not; if it is, I didn't figure out how in the time I spent on the site.

Re:Egui 0.27 – easy-to-use immediate mode GUI for Rust by emilk on Wednesday March 27, 2024 @02:35PM (#39842925)
Thanks for the feedback!

It is definitely fixable. Take a look at https://github.com/emilk/egui/issues/996 for some examples of how others have styled egui, or try out https://app.rerun.io/

Styling is done with `ctx.set_style`, but creating a nice style isn't very easy at the moment (basically you'll have to tweak constants in code, and then recompile). I'm working on making it easier as we speak though!

Re:Egui 0.27 – easy-to-use immediate mode GUI for Rust by Filligree on Wednesday March 27, 2024 @02:45PM (#39843049)
app.rerun.io definitely looks a great deal better. Knowing that's possible is good motivation.

Making it easier to create styles is definitely a good idea, but I wonder if it wouldn't be enough for many people to have a library of styles they can choose from? In my own case, I think that would be plenty... honestly I just need the one. That one. ;-)

EDIT: I think this is the relevant code: https://github.com/rerun-io/rerun/blob/4636188996038f4be913f...