slint/sixtyfps_runtime/rendering_backends/testing
Simon Hausmann 5cad61bcd0 Fix disappearing text in vertical layouts with word-wrap and alignment
When a Text element has wrapping enabled, it should not have zero
minimum size. Otherwise the layout will give it a height of zero in the
layout in the test case and that'll make the text disappear. There are
different options but this patch goes for minimum height as if no
wrapping was enabled (so at least one line plus forced line breaks).

Fixes #246
2021-06-01 10:52:26 +02:00
..
Cargo.toml Avoid compiling image format we don't need 2021-05-28 15:03:45 +02:00
lib.rs Fix disappearing text in vertical layouts with word-wrap and alignment 2021-06-01 10:52:26 +02:00