fix(wallpaper): center-align tab bar text

This commit is contained in:
Michael Aaron Murphy 2024-03-12 07:19:37 +01:00
parent f48bb86495
commit a813f642db
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -1131,7 +1131,9 @@ pub fn settings() -> Section<crate::pages::Message> {
children.push(element.into());
} else if page.show_tab_bar {
let element = tab_bar::horizontal(&page.outputs).on_activate(Message::Output);
let element = tab_bar::horizontal(&page.outputs)
.button_alignment(Alignment::Center)
.on_activate(Message::Output);
children.push(element.into());
}