Adjust toplevel label style
This commit is contained in:
parent
88fa8eecd1
commit
5a69aff778
1 changed files with 2 additions and 2 deletions
|
|
@ -171,8 +171,8 @@ pub(crate) fn toplevel_preview(toplevel: &Toplevel) -> cosmic::Element<Msg> {
|
|||
)
|
||||
.style(cosmic::theme::Button::Image)
|
||||
.on_press(Msg::ActivateToplevel(toplevel.handle.clone())),
|
||||
widget::text(&toplevel.info.title)
|
||||
.horizontal_alignment(iced::alignment::Horizontal::Center)
|
||||
widget::button(widget::text(&toplevel.info.title))
|
||||
.on_press(Msg::ActivateToplevel(toplevel.handle.clone()))
|
||||
]
|
||||
.width(iced::Length::Fill)
|
||||
.into()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue