slint/sixtyfps_runtime/rendering_backends/gl
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
..
fonts Implement basic font fallbacks for WASM and macOS 2021-01-14 08:53:14 +01:00
Cargo.toml Use the new 0.2.0 release of femtovg 2021-05-28 20:26:37 +02:00
eventloop.rs GL backend: Prepare for image cache without window 2021-06-01 08:29:39 +02:00
fonts.rs Fix disappearing text in vertical layouts with word-wrap and alignment 2021-06-01 10:52:26 +02:00
graphics_window.rs GL backend: Implement image_size getter without mapped window 2021-06-01 08:29:39 +02:00
images.rs GL backend: Implement image_size getter without mapped window 2021-06-01 08:29:39 +02:00
lib.rs GL backend: Implement image_size getter without mapped window 2021-06-01 08:29:39 +02:00
svg.rs GL: Fix rendering of scaled SVG for which height > width 2021-02-16 10:42:13 +01:00