From 490a437b2f35f267ba9b3039b4ebe494e92546dd Mon Sep 17 00:00:00 2001 From: Imbris Date: Fri, 29 May 2020 01:02:22 -0400 Subject: Make `Font` an associated type of `text_input::Renderer` --- graphics/src/widget/text_input.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics') diff --git a/graphics/src/widget/text_input.rs b/graphics/src/widget/text_input.rs index 893197d1..f13f6606 100644 --- a/graphics/src/widget/text_input.rs +++ b/graphics/src/widget/text_input.rs @@ -27,6 +27,7 @@ impl text_input::Renderer for Renderer where B: Backend + backend::Text, { + type Font = Font; type Style = Box; fn default_size(&self) -> u16 { -- cgit