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
|
|
@ -906,7 +906,7 @@ where
|
|||
+ 'a,
|
||||
Theme: text::Catalog + crate::svg::Catalog + 'a,
|
||||
{
|
||||
use crate::core::Font;
|
||||
use crate::core::{Alignment, Font};
|
||||
use crate::svg;
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
|
|
@ -921,7 +921,7 @@ where
|
|||
text("iced").size(text_size).font(Font::MONOSPACE)
|
||||
]
|
||||
.spacing(text_size.0 / 3.0)
|
||||
.center_y()
|
||||
.align_y(Alignment::Center)
|
||||
.into()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue