diff options
Diffstat (limited to 'graphics/src/widget/text_input.rs')
-rw-r--r-- | graphics/src/widget/text_input.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/graphics/src/widget/text_input.rs b/graphics/src/widget/text_input.rs index f13f6606..575d67f5 100644 --- a/graphics/src/widget/text_input.rs +++ b/graphics/src/widget/text_input.rs @@ -27,14 +27,8 @@ 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 { - // TODO: Make this configurable - 20 - } - fn measure_value(&self, value: &str, size: u16, font: Font) -> f32 { let backend = self.backend(); |