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` --- src/widget.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget.rs') diff --git a/src/widget.rs b/src/widget.rs index 03e3192b..e33a6b2c 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -20,7 +20,7 @@ mod platform { pub use iced_wgpu::widget::{ button, checkbox, container, pane_grid, progress_bar, radio, - scrollable, slider, text_input, + scrollable, slider, text_input, Text, }; #[cfg(feature = "canvas")] @@ -39,7 +39,7 @@ mod platform { pub use iced_winit::svg::{Handle, Svg}; } - pub use iced_winit::{Space, Text}; + pub use iced_winit::Space; #[doc(no_inline)] pub use { -- cgit