Module egui::containers::panel [−][src]
Expand description
Panels are Ui
regions taking up e.g. the left side of a Ui
or screen.
Panels can either be a child of a Ui
(taking up a portion of the parent)
or be top-level (taking up a portion of the whole screen).
Together with Window
and Area
:s, top-level panels are
the only places where you can put you widgets.
The order in which you add panels matter! The first panel you add will always be the outermost, and the last you add will always be the innermost.
Always add any CentralPanel
last.
Add your Window
:s after any top-level panels.