feat: add cosmic::theme::spacing()

This commit is contained in:
Michael Aaron Murphy 2025-03-19 19:24:09 +01:00
parent 2afa192573
commit ab887aeeac
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 9 additions and 1 deletions

View file

@ -205,6 +205,7 @@ impl cosmic::Application for App {
.on_input(Message::Input2)
.on_clear(Message::Ignore),
]
.spacing(cosmic::theme::spacing().space_s)
.width(iced::Length::Fill)
.height(iced::Length::Shrink)
.align_x(iced::Alignment::Center),