fix(context_drawer): center header elements

This commit is contained in:
Vukašin Vojinović 2024-11-08 12:26:03 +01:00 committed by Michael Murphy
parent 2704a77aa3
commit 707f2115eb
4 changed files with 9 additions and 10 deletions

View file

@ -809,7 +809,7 @@ impl<App: Application> ApplicationExt for App {
};
let content_row = crate::widget::row::with_children({
let mut widgets = Vec::with_capacity(4);
let mut widgets = Vec::with_capacity(3);
// Insert nav bar onto the left side of the window.
let has_nav = if let Some(nav) = self