summaryrefslogtreecommitdiffstats
path: root/native/src/widget/checkbox.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 15:35:12 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:14:34 +0700
commit0aafcde0ef1533c9eeba0379de8c0082e30c7504 (patch)
treeec1a6e47a5f97f9893da58ed276c71f8c93f305c /native/src/widget/checkbox.rs
parente5e477aa692e33eb639e4d3acbc073fdb47f9c9a (diff)
downloadiced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.gz
iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.bz2
iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.zip
Remove `widget` module re-exports in `iced_native`
Diffstat (limited to 'native/src/widget/checkbox.rs')
-rw-r--r--native/src/widget/checkbox.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs
index 83bc2aa3..b81a444e 100644
--- a/native/src/widget/checkbox.rs
+++ b/native/src/widget/checkbox.rs
@@ -6,11 +6,12 @@ use crate::event::{self, Event};
use crate::layout;
use crate::mouse;
use crate::renderer;
-use crate::text;
use crate::touch;
+use crate::widget::text;
+use crate::widget::{Row, Text};
use crate::{
Alignment, Clipboard, Color, Element, Hasher, Layout, Length, Point,
- Rectangle, Row, Text, Widget,
+ Rectangle, Widget,
};
pub use iced_style::checkbox::{Style, StyleSheet};
@@ -20,7 +21,7 @@ pub use iced_style::checkbox::{Style, StyleSheet};
/// # Example
///
/// ```
-/// # type Checkbox<'a, Message> = iced_native::Checkbox<'a, Message, iced_native::renderer::Null>;
+/// # type Checkbox<'a, Message> = iced_native::widget::Checkbox<'a, Message, iced_native::renderer::Null>;
/// #
/// pub enum Message {
/// CheckboxToggled(bool),