diff options
| author | 2020-07-06 23:58:15 +0200 | |
|---|---|---|
| committer | 2020-07-06 23:58:15 +0200 | |
| commit | dfeb3db003d724a1c980329dab9cbfae55b7f589 (patch) | |
| tree | b23c83af87ffa59770971eafbc2843e1053f1adc /native/src/renderer | |
| parent | 946bbd26835fef21b770c1ae56921fb4d8512287 (diff) | |
| download | iced-dfeb3db003d724a1c980329dab9cbfae55b7f589.tar.gz iced-dfeb3db003d724a1c980329dab9cbfae55b7f589.tar.bz2 iced-dfeb3db003d724a1c980329dab9cbfae55b7f589.zip | |
Use `default_font_size` for `TextInput` widget
Diffstat (limited to '')
| -rw-r--r-- | native/src/renderer/null.rs | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs index b8b0b996..5fd3627b 100644 --- a/native/src/renderer/null.rs +++ b/native/src/renderer/null.rs @@ -105,13 +105,8 @@ impl scrollable::Renderer for Null {  }  impl text_input::Renderer for Null { -    type Font = Font;      type Style = (); -    fn default_size(&self) -> u16 { -        20 -    } -      fn measure_value(&self, _value: &str, _size: u16, _font: Font) -> f32 {          0.0      } | 
