diff options
author | 2020-04-23 22:17:11 +0200 | |
---|---|---|
committer | 2020-04-23 22:17:11 +0200 | |
commit | 0300b649d7f99bd63494a9672e3a295bca7ec5d7 (patch) | |
tree | 5c8371294c946bf3cf453aa9c04fd4937031e71b /native/src/widget/radio.rs | |
parent | 6786b8a3aaf87bd9875b2253ac0986f050cc8445 (diff) | |
download | iced-0300b649d7f99bd63494a9672e3a295bca7ec5d7.tar.gz iced-0300b649d7f99bd63494a9672e3a295bca7ec5d7.tar.bz2 iced-0300b649d7f99bd63494a9672e3a295bca7ec5d7.zip |
Make `Font` an associated type of `text::Renderer`
Diffstat (limited to 'native/src/widget/radio.rs')
-rw-r--r-- | native/src/widget/radio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/radio.rs b/native/src/widget/radio.rs index 0ec621bf..a13d86a0 100644 --- a/native/src/widget/radio.rs +++ b/native/src/widget/radio.rs @@ -1,7 +1,7 @@ //! Create choices using radio buttons. use crate::{ input::{mouse, ButtonState}, - layout, row, text, Align, Clipboard, Element, Event, Font, Hasher, + layout, row, text, Align, Clipboard, Element, Event, Hasher, HorizontalAlignment, Layout, Length, Point, Rectangle, Row, Text, VerticalAlignment, Widget, }; @@ -155,7 +155,7 @@ where label_layout.bounds(), &self.label, <Renderer as text::Renderer>::DEFAULT_SIZE, - Font::Default, + Default::default(), None, HorizontalAlignment::Left, VerticalAlignment::Center, |