Linus Behrbohm

Results 84 comments of Linus Behrbohm

The menu is created with its top left corner at the bottom left corner of the element it is created on (the Add button). https://github.com/emilk/egui/blob/2d2022fb7290bf4fcca373ad3a0dc98b680a9203/egui/src/menu.rs#L292-L293 It's been a while since...

For example when you click a button to show an element, the menu would render first without knowing its size, meaning it would go off the screen. Then the next...

But I guess the caching of boundingboxes is still useful, so we could store and Option of a bounding box and if it is None we run a dry render...

Not currently, but I also wanted to create a menu at a fixed position at one point and configuring how the menus are created seem generally important. So if anyone...

Could you maybe elaborate on which frame you mean? If I understand correctly you want to be able to customize the button opening the menu? This could probably be done...

For anyone looking into implementing this, this would probably be an abstraction over the trigger mechanism for bringing up a stationary menu, i.e. a menu created at some other element...

> Can't you just add a `ScrollArea` to a menu? I didn't test it, but it sounds like the solution to go with.

It would be even better if the semantics could be less tricky :) Where is the problem with always trying to infer unspecified types and falling back on defaults when...

Would be cool if we could have some kind of community vote about which keymap to use and how commands should behave. Would also be nice to be able to...

@cessen People could be voting on coherent design options. I just noticed while reading this conversation that it is very hard to collect all of the _current_ suggestions and how...