Draft custom layout engine based on druid

This commit is contained in:
Héctor Ramón Jiménez 2019-11-10 06:05:20 +01:00
parent 2303111e09
commit 0240c3981b
38 changed files with 974 additions and 249 deletions

View file

@ -1,6 +1,6 @@
use iced::{
scrollable, text::HorizontalAlignment, text_input, Align, Application,
Checkbox, Color, Column, Element, Length, Scrollable, Text, TextInput,
Checkbox, Color, Column, Element, Scrollable, Text, TextInput,
};
pub fn main() {
@ -77,7 +77,7 @@ impl Application for Todos {
);
let content = Column::new()
.max_width(Length::Units(800))
.max_width(800)
.align_self(Align::Center)
.spacing(20)
.push(title)