summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--widget/src/pop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/pop.rs b/widget/src/pop.rs
index 8cef40e8..146cfb2b 100644
--- a/widget/src/pop.rs
+++ b/widget/src/pop.rs
@@ -43,7 +43,7 @@ where
/// Sets the message to be produced when the content pops into view.
///
- /// The closure will receive the relative bounds of the content in that moment.
+ /// The closure will receive the [`Size`] of the content in that moment.
pub fn on_show(mut self, on_show: impl Fn(Size) -> Message + 'a) -> Self {
self.on_show = Some(Box::new(on_show));
self