Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ListView implementation in C++ #7427

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Fix ListView implementation in C++ #7427

merged 2 commits into from
Jan 22, 2025

Conversation

ogoffart
Copy link
Member

Regressed in commit 4da79ac

@ogoffart ogoffart requested a review from tronical January 22, 2025 11:33
Within the cupertino's ScrollView, the Flickable is positioned
with a 2 pixel margin with the `x` and `y` properties
property, so the width and height should also account for that margin.

Fix the test_cpp_elements_listview in test-driver-cpp
@ogoffart ogoffart requested a review from FloVanGH January 22, 2025 12:50
@ogoffart
Copy link
Member Author

cc @FloVanGH for the second commit (Fix ScrollView on cupertino not showing the last few pixels)

Within the cupertino's ScrollView, the Flickable is positioned
with a 2 pixel margin with the x and y properties
property, so the width and height should also account for that margin.

@ogoffart ogoffart merged commit 3f54e6c into master Jan 22, 2025
37 checks passed
@ogoffart ogoffart deleted the olivier/listview branch January 22, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants