feat!(widget): rewrite button & icon widget APIs
This commit is contained in:
parent
18debe546d
commit
4e4eeaac12
60 changed files with 2191 additions and 1113 deletions
|
|
@ -125,9 +125,9 @@ impl cosmic::Application for App {
|
|||
|
||||
let text = cosmic::widget::text(page_content);
|
||||
|
||||
let centered = iced::widget::container(text)
|
||||
let centered = cosmic::widget::container(text)
|
||||
.width(iced::Length::Fill)
|
||||
.height(iced::Length::Fill)
|
||||
.height(iced::Length::Shrink)
|
||||
.align_x(iced::alignment::Horizontal::Center)
|
||||
.align_y(iced::alignment::Vertical::Center);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue