conrod
conrod copied to clipboard
Horizontally resizing text example causes crash when window size becomes sufficiently small.
cargo run --release --features winit glium --example text
Wait for the build. Resize the window until it's essentially almost 0 sized, at some point you will see the UI stop reacting. Now expand the window. Instead of rendering text, the window decorations smear. Seems like maybe some division-by-zero type bug.
Yes, I run into the same problem, even run as debug version :(
This appears to be caused by the window size becoming too small to acommodate applied padding:
https://github.com/PistonDevelopers/conrod/blob/aeca45b2782687409c453496117704094617d325/backends/conrod_glium/examples/text.rs#L136
Needs some investigation 🔬.