diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-09-28 08:00:29 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-09-28 12:11:51 +0000 |
commit | 797d3ca58c1487b1abdba051756948f29342c28c (patch) | |
tree | 37b02ac609b96105916e7eba53487b53d4564b8c /src/quicktemplates2/qquickactiongroup.cpp | |
parent | 97e25d198d6bcd219c0076947163333897c192f2 (diff) |
QQuickPaddedRectangle: prevent negative width and height
If the padding is larger than the available size, the rectangle node
should not be given a negative size, because the node is still rendered
and it results to undesired rendering artifacts.
Change-Id: I082649badb04fe33dbea2ca2c4efcf0f179f41a8
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickactiongroup.cpp')
0 files changed, 0 insertions, 0 deletions