jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.1k stars 164 forks source link

Two points of UI optimization. #166

Closed 823984418 closed 6 months ago

823984418 commented 7 months ago

As mentioned in the commits, there are mainly two points:

  1. Change egui::ScrollArea::vertical to both This allows a very deep node expansion relationship not to be too wide for display. image

  2. Change ui.horizontal to horizontal_top This fixes the incorrect blank space above the expanded node. image

jakobhellermann commented 6 months ago

nice, thanks for the PR