Reuse Text widget from iced_native in iced_pure
This commit is contained in:
parent
182fb9446c
commit
dee3dba632
3 changed files with 19 additions and 116 deletions
|
|
@ -99,7 +99,7 @@ pub fn button<'a, Message, Renderer>(
|
|||
Button::new(content)
|
||||
}
|
||||
|
||||
pub fn text<Renderer>(text: impl ToString) -> Text<Renderer>
|
||||
pub fn text<Renderer>(text: impl Into<String>) -> Text<Renderer>
|
||||
where
|
||||
Renderer: iced_native::text::Renderer,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue