Emil Ernerfeldt

Results 813 comments of Emil Ernerfeldt

This should be relatively easy to implement if anyone wants to take a stab at it. An interface like this should work pretty well: ``` rust egui::VerticalSplitter::new().show(ui, |left_ui, right_ui| {...

Just a note: I think the split position should be stored in fraction (e.g. 40%) so when resizing the outer container, the splitter stays at the same relative position.

Can you expand a bit on the problem? I would expect `.highlight(true)` to highlight the given item this frame. What is the difference between `init` and `state`?

> The immediate problem is pretty annoying, though. It means that if you want to cleanly support two different UI schemes you need to have conditionals everywhere colors are used...

I think this broke something: ![bad-groups](https://user-images.githubusercontent.com/1148717/216768329-d5c5e776-965e-4e4a-806d-f23c6a793534.gif)

Thanks for working on this! 🙏 I'm heading off to a long vacation, so it will be at least a month until I will get to reviewing this. Just a...

Continued in https://github.com/emilk/egui/pull/2633

I appreciate that, but the point is that your PR breaks something else: crisp text. Getting both crisp text and kerning right is difficult, and I suspect the current code...

I was wrong, the text seems crisp, sorry about that. But the kerning for non-integer scales is pretty bad. Try 1.1 pixels_per_point and then enter `iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii` in a text field...

Yes, having flags for all these options would be _great_! I thin we can give full control if we have flags for: * Rounding font sizes to even pixels on/off...