From 0300b649d7f99bd63494a9672e3a295bca7ec5d7 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 23 Apr 2020 22:17:11 +0200 Subject: Make `Font` an associated type of `text::Renderer` --- native/src/widget/radio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'native/src/widget/radio.rs') 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, ::DEFAULT_SIZE, - Font::Default, + Default::default(), None, HorizontalAlignment::Left, VerticalAlignment::Center, -- cgit