diff options
author | 2020-04-23 22:17:11 +0200 | |
---|---|---|
committer | 2020-04-23 22:17:11 +0200 | |
commit | 0300b649d7f99bd63494a9672e3a295bca7ec5d7 (patch) | |
tree | 5c8371294c946bf3cf453aa9c04fd4937031e71b /src/widget.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 'src/widget.rs')
-rw-r--r-- | src/widget.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |