From f72b1505bebf8d2fe1a60d386a3a3c3b67d4f903 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 4 Dec 2019 20:20:02 +0100 Subject: =?UTF-8?q?Unify=20error=20types=20=E2=99=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/stack.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/layout/stack.rs') diff --git a/src/layout/stack.rs b/src/layout/stack.rs index 64823b67..176aa261 100644 --- a/src/layout/stack.rs +++ b/src/layout/stack.rs @@ -108,7 +108,8 @@ impl StackLayouter { // Find the first (sub-)space that fits the layout. while !self.sub.usable.fits(new_size) { if self.space_is_last() && self.space_is_empty() { - lr!("box does not fit into stack"); + error!("box of size {} does not fit into remaining stack of size {}", + size, self.sub.usable - Size2D::with_y(self.sub.size.y)); } self.finish_space(true); -- cgit v1.2.3