diff --git a/src/widget/widget.rs b/src/widget/widget.rs index 4f7b2f288..f82300f30 100644 --- a/src/widget/widget.rs +++ b/src/widget/widget.rs @@ -222,6 +222,15 @@ impl Widget for Box { self.deref_mut().layout(cx, bc) } + fn compute_max_intrinsic( + &mut self, + axis: Axis, + ctx: &mut LayoutCx, + bc: &BoxConstraints, + ) -> f64 { + self.deref_mut().compute_max_intrinsic(axis, ctx, bc) + } + fn accessibility(&mut self, cx: &mut AccessCx) { self.deref_mut().accessibility(cx); }