outline: Enable scrollbar in outline view picker (#46774)

Release Notes:

- Added scrollbar in outline view picker
This commit is contained in:
Xiaobo Liu authored and GitHub committed 2026-01-14 08:06:55 -03:00
1 parent db2f2ad45a
commit 6c5da3df22
1 file changed
+3 -1
+3 -1
View File
@@ -121,7 +121,9 @@ impl OutlineView {
) -> OutlineView {
let delegate = OutlineViewDelegate::new(cx.entity().downgrade(), outline, editor, cx);
let picker = cx.new(|cx| {
Picker::uniform_list(delegate, window, cx).max_height(Some(vh(0.75, window)))
Picker::uniform_list(delegate, window, cx)
.max_height(Some(vh(0.75, window)))
.show_scrollbar(true)
});
OutlineView { picker }
}