Implement Toggler widget for iced_native

This commit is contained in:
Kaiden42 2020-09-19 18:44:27 +02:00 committed by Héctor Ramón
parent 1dce929dfc
commit 52a185fbab
10 changed files with 452 additions and 4 deletions

View file

@ -17,8 +17,8 @@
mod platform {
pub use crate::renderer::widget::{
button, checkbox, container, pane_grid, pick_list, progress_bar, radio,
rule, scrollable, slider, text_input, tooltip, Column, Row, Space,
Text,
rule, scrollable, slider, text_input, toggler, tooltip, Column, Row,
Space, Text,
};
#[cfg(any(feature = "canvas", feature = "glow_canvas"))]
@ -53,7 +53,7 @@ mod platform {
button::Button, checkbox::Checkbox, container::Container, image::Image,
pane_grid::PaneGrid, pick_list::PickList, progress_bar::ProgressBar,
radio::Radio, rule::Rule, scrollable::Scrollable, slider::Slider,
svg::Svg, text_input::TextInput, tooltip::Tooltip,
svg::Svg, text_input::TextInput, toggler::Toggler, tooltip::Tooltip,
};
#[cfg(any(feature = "canvas", feature = "glow_canvas"))]