summaryrefslogtreecommitdiffstats
path: root/native/src/widget/space.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-27 06:49:20 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-27 06:49:20 +0200
commitff2519b1d43d481987351a83b6dd7237524c21f0 (patch)
tree5731eeb7eb1247d4a8951de0d5bc5d8102640559 /native/src/widget/space.rs
parentc44267b85f7aaa2997e3caf1323b837d95818c22 (diff)
downloadiced-ff2519b1d43d481987351a83b6dd7237524c21f0.tar.gz
iced-ff2519b1d43d481987351a83b6dd7237524c21f0.tar.bz2
iced-ff2519b1d43d481987351a83b6dd7237524c21f0.zip
Replace stateful widgets with new `iced_pure` API
Diffstat (limited to 'native/src/widget/space.rs')
-rw-r--r--native/src/widget/space.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/widget/space.rs b/native/src/widget/space.rs
index 81338306..9f835893 100644
--- a/native/src/widget/space.rs
+++ b/native/src/widget/space.rs
@@ -1,6 +1,7 @@
//! Distribute content vertically.
use crate::layout;
use crate::renderer;
+use crate::widget::Tree;
use crate::{Element, Layout, Length, Point, Rectangle, Size, Widget};
/// An amount of empty space.
@@ -59,6 +60,7 @@ where
fn draw(
&self,
+ _state: &Tree,
_renderer: &mut Renderer,
_theme: &Renderer::Theme,
_style: &renderer::Style,