summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodegen_test.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2021-08-26 18:31:40 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2021-08-30 12:06:57 +0000
commit3945868670238358d8733fad71264f2a9996d3bd (patch)
treec7e85ab9fdc88738c2dd824a43508ea6c46aeb36 /src/plugins/cpptools/cppcodegen_test.cpp
parente4995fd6c7bcc624142babc5b0d861aedca7fb81 (diff)
downloadqt-creator-3945868670238358d8733fad71264f2a9996d3bd.tar.gz
QmlDesigner: Render item inside the bounding rect
We have to render an item inside the bounding rect, because if it is a component there might be child items outside its actual size. The way we calculate the bounding rectangle excludes children on the document level. We take clipping into account when calculating the bounding rect. When rendering the effect we do not have the instance. Therefore we fall back to the standard bounding rectangle. Change-Id: I7cd09d08d461d28c49a91fb891a5487185df0245 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppcodegen_test.cpp')
0 files changed, 0 insertions, 0 deletions