diff options
| author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-05-04 12:48:42 +0200 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-05-28 09:29:47 +0000 |
| commit | 7dc48bb0b56de00faab2d67570c74f0512991263 (patch) | |
| tree | 02176c42c3c630bea9fb1646a900bf8f3f35f1b1 /src/qml/compiler/qv4bytecodehandler.cpp | |
| parent | 61bbac145a6d69ab07e74b2f54ba1257bd6c3721 (diff) | |
TableView: switch to use TableView.cellWidth/cellHeight
This is logically more correct since TableView will override
width / height anyway to make the delegates fit into the table if
they are not as wide/tall as the widest column/row.
And it gets even more problematic when we recycle delegates, since
in that case we need to keep the original width binding of the
delegate to calulate the size of new columns. And this all
fits better by using attached properties instead.
Change-Id: Ia5f2acd2bfc45f3fb160c3782191ad8da9f780e6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4bytecodehandler.cpp')
0 files changed, 0 insertions, 0 deletions
