Skip to content

Commit

Permalink
Tree widget - WIP 24 - Adjust the example so the tree doesn't jump ar…
Browse files Browse the repository at this point in the history
…ound in the window when expanding/collapsing nodes.
  • Loading branch information
hydra committed Feb 4, 2025
1 parent 7921d30 commit 6e21161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn main(app: &mut App) -> cushy::Result {
.into_rows()
.contain()
.vertical_scroll()
.centered()
.fit_vertically()
.make_widget();

let ui = pending.with_root(elements)
Expand Down

0 comments on commit 6e21161

Please sign in to comment.