summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4function.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2022-10-05 12:12:26 +0200
committerPaul Wicking <paul.wicking@qt.io>2022-10-14 10:13:29 +0200
commit9cefe6d6d3c16b489557e6314b14f96176c8f950 (patch)
treebf03fac106dacfaa5914822e9da5295f96774610 /src/qml/jsruntime/qv4function.cpp
parentc52b7fdca8e5a6fd4a14e22d47f53d301af5c316 (diff)
downloadqtdeclarative-9cefe6d6d3c16b489557e6314b14f96176c8f950.tar.gz
QQuickTableView: forward sync view calls to setColumnWidth/RowHeight
When a TableView has a sync view, the sync view will always decide the size of the rows and the columns. As such, also forward any calls to setColumnWidth/RowHeight to the sync view, otherwise it will have no effect. This is needed to e.g allow the application to resize the columns in a TableView by setting the size on the HeaderView instead. The opposite solution would be to just ignore any such assignments when having a sync view, but this would need to be documented as well, so then we might as well just forward the calls. Task-number: QTBUG-106792 Change-Id: Iadcd8c75677a69ab19fa2455274d340b5a4ad340 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions