Re-export variants of Length and alignment types
This commit is contained in:
parent
f9dd5cbb09
commit
76737351ea
51 changed files with 255 additions and 395 deletions
|
|
@ -3,7 +3,7 @@ use iced::widget::{
|
|||
text_input,
|
||||
};
|
||||
use iced::window;
|
||||
use iced::{Element, Length, Subscription, Task, Theme, Vector};
|
||||
use iced::{Center, Element, Fill, Subscription, Task, Theme, Vector};
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
|
|
@ -188,8 +188,8 @@ impl Window {
|
|||
let content = scrollable(
|
||||
column![scale_input, title_input, new_window_button]
|
||||
.spacing(50)
|
||||
.width(Length::Fill)
|
||||
.center_x(),
|
||||
.width(Fill)
|
||||
.align_x(Center),
|
||||
);
|
||||
|
||||
container(content).center_x(200).into()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue