diff options
author | 2020-05-29 23:10:14 +0200 | |
---|---|---|
committer | 2020-05-29 23:10:14 +0200 | |
commit | f8cb3acc485a45c94d806341f907460c897fa262 (patch) | |
tree | f65d2d43ba0a2068b7874bccf4a54ef37652d93a /graphics | |
parent | ab0ee1a8d09a717cbcd04d0a2d711ce53fe0e172 (diff) | |
parent | 490a437b2f35f267ba9b3039b4ebe494e92546dd (diff) | |
download | iced-f8cb3acc485a45c94d806341f907460c897fa262.tar.gz iced-f8cb3acc485a45c94d806341f907460c897fa262.tar.bz2 iced-f8cb3acc485a45c94d806341f907460c897fa262.zip |
Merge pull request #365 from Imberflur/text-input-font
Make `Font` an associated type of `text_input::Renderer`
Diffstat (limited to '')
-rw-r--r-- | graphics/src/widget/text_input.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<B> text_input::Renderer for Renderer<B> where B: Backend + backend::Text, { + type Font = Font; type Style = Box<dyn StyleSheet>; fn default_size(&self) -> u16 { |