Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.12.0 Beta 3
-
None
Description
I tried the new TableView by using the example code in the documentation. I add the TableView to a ScrollView to make it scrollable.
When I started the app the ScrollBars were not visible, which indicates that the content size was not setup properly. Then I called forceLayout() in Component.onCompleted and the ScrollBars appeared. But after resizing the app window the ScrollBars suddenly indicated that the content can not be scrolled.
I printed the contentWidth and contentHeight of the TableView on every change and I saw that they toggled between 0 and its true size during a window resize, but also on app start.
I reproduced it on Windows 10 and on Linux (Fedora 28) in a virtual machine with the attached project.
Attachments
Issue Links
- relates to
-
QTBUG-71974 TableView: does not work together with ScrollView
-
- Closed
-