From 8426bf953cb50f3b7fcb1e0ec8c2fdf22d2b01af Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 30 Dec 2019 19:20:59 +0100 Subject: Implement `Empty` widget It can be useful if you want to fill some space with nothing. --- src/native.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/native.rs') diff --git a/src/native.rs b/src/native.rs index f06f1c99..8a04b7c3 100644 --- a/src/native.rs +++ b/src/native.rs @@ -1,6 +1,6 @@ pub use iced_winit::{ - Align, Background, Color, Command, Font, HorizontalAlignment, Length, - Subscription, VerticalAlignment, + Align, Background, Color, Command, Empty, Font, HorizontalAlignment, + Length, Subscription, VerticalAlignment, }; pub mod widget { -- cgit From 3a327e08e96d9588d145c32afe4f04f37a8f0f0f Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 30 Dec 2019 21:32:21 +0100 Subject: Rename `Empty` widget to `Space` --- src/native.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/native.rs') diff --git a/src/native.rs b/src/native.rs index 8a04b7c3..cf48a391 100644 --- a/src/native.rs +++ b/src/native.rs @@ -1,6 +1,6 @@ pub use iced_winit::{ - Align, Background, Color, Command, Empty, Font, HorizontalAlignment, - Length, Subscription, VerticalAlignment, + Align, Background, Color, Command, Font, HorizontalAlignment, Length, + Space, Subscription, VerticalAlignment, }; pub mod widget { -- cgit From 43de28ae1515ace34758656f228444898459d85b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 4 Jan 2020 14:14:28 +0100 Subject: Expose `ProgressBar` in `iced` crate --- src/native.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/native.rs') diff --git a/src/native.rs b/src/native.rs index cf48a391..022cf337 100644 --- a/src/native.rs +++ b/src/native.rs @@ -85,7 +85,7 @@ pub mod widget { pub use iced_winit::svg::{Handle, Svg}; } - pub use iced_winit::{Checkbox, Radio, Text}; + pub use iced_winit::{Checkbox, ProgressBar, Radio, Text}; #[doc(no_inline)] pub use { -- cgit