outline: Enable scrollbar in outline view picker (#46774)
Release Notes: - Added scrollbar in outline view picker
This commit is contained in:
1 parent
db2f2ad45a
commit
6c5da3df22
1 file changed
+3
-1
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user