diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-04 20:20:02 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-04 20:20:02 +0100 |
| commit | f72b1505bebf8d2fe1a60d386a3a3c3b67d4f903 (patch) | |
| tree | 09fa7137a2bae5454e6f9cecc1936633c90965d4 /src/layout/stack.rs | |
| parent | 9fb31defd037a90bf8f9e38fa33acae23a70b269 (diff) | |
Unify error types ♾
Diffstat (limited to 'src/layout/stack.rs')
| -rw-r--r-- | src/layout/stack.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
