mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49: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);
|
||||
|
||||
@@ -94,7 +94,7 @@ impl crate::View for Panels {
|
||||
bottom,
|
||||
egui::Panel::bottom("bottom_panel_collapsed")
|
||||
.resizable(true)
|
||||
.exact_size(16.0),
|
||||
.default_size(20.0),
|
||||
egui::Panel::bottom("bottom_panel_expanded")
|
||||
.resizable(true)
|
||||
.max_size(128.0),
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b2d186d7404839e1b8d33ea186751035362a085e5f60a774a5f1bd66dd3e1442
|
||||
size 347049
|
||||
oid sha256:8d48079f85e9529f4b463bbaf2c948a64126388ef32df0584b586dc0ae48a35b
|
||||
size 344919
|
||||
|
||||
Reference in New Issue
Block a user