Make Font an associated type of text_input::Renderer
This commit is contained in:
parent
ab0ee1a8d0
commit
490a437b2f
3 changed files with 17 additions and 10 deletions
|
|
@ -103,6 +103,7 @@ impl scrollable::Renderer for Null {
|
|||
}
|
||||
|
||||
impl text_input::Renderer for Null {
|
||||
type Font = Font;
|
||||
type Style = ();
|
||||
|
||||
fn default_size(&self) -> u16 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue