recent projects: cleanup ui (#7528)
As the ui for the file finder was recently changed in #7364, I think it makes sense to also update the ui of the recent projects overlay. Before:  After:  Release Notes: - Improved UI of recent project overlay
This commit is contained in:
parent
2b56c43f2d
commit
c33efe8cd0
16 changed files with 430 additions and 212 deletions
|
@ -25,7 +25,7 @@ pub fn init(cx: &mut AppContext) {
|
|||
let handle = cx.view().downgrade();
|
||||
workspace.toggle_modal(cx, move |cx| {
|
||||
let delegate = ProjectSymbolsDelegate::new(handle, project);
|
||||
Picker::new(delegate, cx).width(rems(34.))
|
||||
Picker::uniform_list(delegate, cx).width(rems(34.))
|
||||
})
|
||||
});
|
||||
},
|
||||
|
@ -344,7 +344,7 @@ mod tests {
|
|||
|
||||
// Create the project symbols view.
|
||||
let symbols = cx.new_view(|cx| {
|
||||
Picker::new(
|
||||
Picker::uniform_list(
|
||||
ProjectSymbolsDelegate::new(workspace.downgrade(), project.clone()),
|
||||
cx,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue