aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-07-13 13:30:07 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-07-18 22:12:18 +0000
commit379ba8640a9cf7e43e848eb07c11989f0f4f3ddd (patch)
tree5131b7c128d36549677f239ea954edd8a1665365 /tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
parentaec42f9953954d48a11465f56b5e5ee4987f3b44 (diff)
QQuickTableView: remove TableView.cellWidth/Height
The attached properties TableView.cellWidth/Height were added for corner cases where you couldn't set/override implicit size for a delegate item. But now that we have added rowHeightProvider and columnWidthProvider (and we know that we're going to offer a broader API to set row/column size from a HeaderView), you have a way out for those cases as well. So lets remove the attached properties until we know for sure if they will be needed. Change-Id: I7d20fb02c36aebd3f24964630ccb68d4c813e93e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicktableview/tst_qquicktableview.cpp')
-rw-r--r--tests/auto/quick/qquicktableview/tst_qquicktableview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
index dc2176f839..34d8dc8d55 100644
--- a/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
+++ b/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
@@ -208,7 +208,7 @@ void tst_QQuickTableView::checkImplicitSizeDelegate()
{
// Check that we can set the size of delegate items using
// implicit width/height, instead of forcing the user to
- // create an attached object by using TableView.cellWidth/Height.
+ // create an attached object by using implicitWidth/Height.
LOAD_TABLEVIEW("tableviewimplicitsize.qml");
auto model = TestModelAsVariant(100, 100);