WIP: Icons not yet rendering
This commit is contained in:
parent
6cb9cf70b7
commit
85aedf9bed
8 changed files with 126 additions and 29 deletions
|
@ -90,6 +90,14 @@ impl<V: 'static> Element<V> for Text {
|
|||
}
|
||||
}
|
||||
|
||||
impl<V: 'static> IntoElement<V> for Text {
|
||||
type Element = Self;
|
||||
|
||||
fn into_element(self) -> Self::Element {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
pub struct TextLayout {
|
||||
line_layout: Arc<LineLayout>,
|
||||
line_height: f32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue