We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 306dae9 commit 2a66e7fCopy full SHA for 2a66e7f
2 files changed
crates/egui/src/containers/panel.rs
@@ -476,7 +476,7 @@ impl Panel {
476
/// // `.resizable(true)` on both panels enables drag-to-collapse + drag-to-expand:
477
/// let collapsed = egui::Panel::top("top_collapsed")
478
/// .resizable(true)
479
- /// .exact_size(20.0);
+ /// .default_size(20.0);
480
/// let expanded = egui::Panel::top("top_expanded")
481
482
/// .default_size(120.0);
crates/egui_demo_lib/src/demo/panels.rs
@@ -94,7 +94,7 @@ impl crate::View for Panels {
94
bottom,
95
egui::Panel::bottom("bottom_panel_collapsed")
96
.resizable(true)
97
- .exact_size(16.0),
+ .default_size(20.0),
98
egui::Panel::bottom("bottom_panel_expanded")
99
100
.max_size(128.0),
0 commit comments