mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Improve panel example (#8200)
This commit is contained in:
@@ -476,7 +476,7 @@ impl Panel {
|
||||
/// // `.resizable(true)` on both panels enables drag-to-collapse + drag-to-expand:
|
||||
/// let collapsed = egui::Panel::top("top_collapsed")
|
||||
/// .resizable(true)
|
||||
/// .exact_size(20.0);
|
||||
/// .default_size(20.0);
|
||||
/// let expanded = egui::Panel::top("top_expanded")
|
||||
/// .resizable(true)
|
||||
/// .default_size(120.0);
|
||||
|
||||
Reference in New Issue
Block a user