ToyCustomizer: Fix implicit size calculation in ToyLabel
The ToyLabel item had a bug in its implicit size calculation. It did
not properly account for line height, and the text's vertical alignment
was slightly off.
This patch corrects the calculation, ensuring that the implicit width
and height now accurately fit the text.
Task-number: QTBUG-143555
Pick-to: 6.11
Change-Id: I8e01eccb542d45222cca442e2a2481957a60aa47
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| commit | 01cbc83e33600d023463fade946199a77201c477 |
| parent | ea0528bc61ff50115f5eaece23bf34ff4071b219 |
| author | MohammadHossein Qanbari <mohammad.qanbari@qt.io> |
| committer | MohammadHossein Qanbari <mohammad.qanbari@qt.io> |
| commit time | Mon, 16 Feb 2026 13:17:22 +0100 |