slint/api/cpp/include
Olivier Goffart 4da79ac69a Fix layouting of huge ListView with millions of items
The problem is that the precision of f32 for coordinate wouldn't be
accurate enough with such big viewport to put the elements so that they
are next to eachother.
So put the elements relative to the Flickable instead of relative to the
created moving viewport Rectangle.

Fixes #3700

Note that the ListView still use f32 for the scrollbar value, meaning
that at some point, the wheel stops working as the wheel increment is
smaller than the f32 increment, and scrolling becomes somehow fuzzy.
But this only happens after one more billions pixels now, so one can
have more than 50 millions of elements without much problems
2025-01-20 17:41:38 +01:00
..
slint-interpreter.h Testing C++ API: add a visitor over the ElementHandle 2024-06-10 15:52:40 +02:00
slint-platform.h C++: make the PhysicalRegion::rectangles non-overlapping 2024-07-10 10:58:27 +02:00
slint-stm32.h STM32: Add support for rendering rotation 2024-08-30 08:49:26 +02:00
slint-testing.h C++: Use size_t instead of uintptr_t for the index and count 2024-12-07 08:25:42 +01:00
slint.h Fix layouting of huge ListView with millions of items 2025-01-20 17:41:38 +01:00
slint_brush.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_callbacks.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_color.h Re-run clang-format with version 18 2024-06-10 02:25:40 -07:00
slint_config.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_image.h Changelog: C++: Add slint::Window::take_snapshot() 2024-11-13 12:38:36 +01:00
slint_interpreter.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_pathdata.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_point.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_properties.h Only re-create elements if the model actually changed 2025-01-13 12:11:21 +01:00
slint_sharedvector.h Re-run clang-format with version 18 2024-06-10 02:25:40 -07:00
slint_size.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_string.h cpp: added to_lowercase and to_uppercase to SharedString (#6869) 2024-11-21 18:53:02 +00:00
slint_tests_helpers.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_timer.h Timer::set_interval 2024-09-18 09:24:39 +02:00
slint_window.h MenuBar: C++/Rust native menubar implementation 2025-01-08 21:16:17 +01:00
vtable.h Re-run clang-format with version 18 2024-06-10 02:25:40 -07:00