diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-11-20 09:36:21 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-11-20 15:47:25 +0100 |
commit | 54bc5fbc5e0ebfa42841aa78d621654142b36a59 (patch) | |
tree | b65f4048a7c2d5a8a66958b423ba000ff9961f9a /examples | |
parent | 7fbc14053cb3db4b0cfe31d00da158720d7c24ee (diff) |
Windows, TextField: ensure we set a valid minimum size
The current implementation would sometimes return a minimum
size with a height equal to 3. And when trying to divide the
image at the center for use with a nine patch image later, we
would get drawing artifacts. This patch will ensure that we
set a valid minimumsize.
Pick-to: 6.0
Change-Id: I9ee72c525966462ced596c5191153d3e2a0d68fe
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions