Barugon

Results 20 comments of Barugon

Rewriting [this](https://github.com/Barugon/cota) to use egui instead of Godot. Here are some screenshots: ![Screenshot from 2022-06-30 09-20-47](https://user-images.githubusercontent.com/16503728/176728354-5df0ac13-450f-4004-832b-99bea7332b5a.png) ![Screenshot from 2022-06-30 09-25-07](https://user-images.githubusercontent.com/16503728/176729018-996dd353-288e-4d81-8896-99ea0f4f3b11.png) ![Screenshot from 2022-06-30 09-21-26](https://user-images.githubusercontent.com/16503728/176728448-c6b70c6a-3296-404d-97d6-f19f7fa89c21.png) I have to say that egui...

I'm now working on a VFR flight planner. ![Screenshot from 2022-07-27 09-37-42](https://user-images.githubusercontent.com/16503728/181302676-c163b487-ecd7-4448-a880-411a699d7877.png) [edit] Code is [here](https://github.com/Barugon/fp_app).

This can be done using a ScrollArea. See [this code](https://github.com/Barugon/fp_app/blob/c6889c892ea277e80227ae2038390bfe87e88025/src/app.rs#L374) as an example.

> @Barugon Not sure I follow. I understand ScrollArea lets you do panning, but does it allow zooming? What I mean is zooming in a way that all widgets and...

I have run into this bug. Is there a fix for it? [edit] Or perhaps a workaround?

Looking at [this line](https://github.com/emilk/egui/blob/888cd9c3eb09b44995369aebe0034c5be01f1917/egui/src/widgets/text_edit/builder.rs#L564), it seems to me that a TextEdit would not scroll into view if it was completely outside the clip area. Therefore, [this code](https://github.com/emilk/egui/blob/888cd9c3eb09b44995369aebe0034c5be01f1917/egui/src/widgets/text_edit/builder.rs#L594) is really of...

Confirmed. Using the OP's code, I moved the `TextEdit` into the scroll area, gave it focus, scrolled it out of view, typed some stuff and it did not scroll into...

The tutorial code [here](https://github.com/rg3dengine/rg3d-tutorials/) has the same issue.

I tried changing it to this... ```Rust .with_y_velocity_range(-0.01..0.01) .with_z_velocity_range(0.017..0.02) ``` ...but it still appears behind targets. It looks like the position returned is for the opposite side of the collider.

This should be passed to rustfmt on the command line with `--config tab_spaces=[tab-size value from vscode]` as well as any other applicable options.