feat!(segmented_button): Add context menu support and integrations

This commit is contained in:
Michael Aaron Murphy 2024-04-09 16:54:50 +02:00
parent e2191543b8
commit 3a691941b5
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
13 changed files with 612 additions and 118 deletions

View file

@ -491,7 +491,7 @@ impl Application for Window {
let mut widgets = Vec::with_capacity(2);
if nav_bar_toggled {
let mut nav_bar = nav_bar(&self.nav_bar, Message::NavBar);
let mut nav_bar = nav_bar(&self.nav_bar, Message::NavBar).into_container();
if !self.is_condensed() {
nav_bar = nav_bar.max_width(300);