onboarding: Use a picker for the font dropdowns (#35638)

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-05 11:38:08 -03:00 committed by Orual
parent aa42581061
commit 61cdcb1599
No known key found for this signature in database
6 changed files with 272 additions and 76 deletions

View file

@ -80,6 +80,7 @@ where
{
fn render(self, _window: &mut Window, _cx: &mut App) -> impl IntoElement {
let picker = self.picker.clone();
PopoverMenu::new("popover-menu")
.menu(move |_window, _cx| Some(picker.clone()))
.trigger_with_tooltip(self.trigger, self.tooltip)