aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2020-10-26 13:50:08 +0100
committerJan Arve Sæther <jan-arve.saether@qt.io>2020-10-26 14:07:55 +0100
commit04913fefc9f628407fbc432fc903bbb1559de42e (patch)
tree06ee83b6acaa35e90e5de67cbc0c4ce5b791b10e /examples
parent9a15b53e1ddf07807ca03cce7cd4321f4f11911d (diff)
Native style: Fix bug in layoutMargins()
It should return margin of 0 if style()->subElementRect(XXXLayoutItem) returned an invalid rect. This means that we cannot rely on m_styleItemGeometry.layoutRect blindly. Change-Id: If6b5a40481c8199a63f3446abc9e7dd1c670d181 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions