diff options
author | Magdalena Stojek <[email protected]> | 2025-06-11 09:18:22 +0200 |
---|---|---|
committer | Magdalena Stojek <[email protected]> | 2025-06-13 07:55:46 +0200 |
commit | e242146bab19676f7c699f3372b328c6fc01557b (patch) | |
tree | 0fc9d7cdb8877d3d7f80ea8e6935e6a85d256f41 /tests/baseline/controls/data/dialog | |
parent | a68aab2413c10fbf1e344921b04530ba1ba04746 (diff) |
The initial window size is stored using qreal dimensions that were
implicitly truncated when passed to QWindow::resize(int, int).
This caused tooltips with multiple words to wrap unnecessarily on macOS.
By explicitly using qCeil() when resizing the popup window, the
calculated width and height are rounded up, preserving the intended
layout.
Fixes: QTBUG-130683
Pick-to: 6.10 6.9
Change-Id: I7305d02263108df72ff0c5cc81f5a7a829d9f755
Reviewed-by: Richard Moe Gustavsen <[email protected]>
Diffstat (limited to 'tests/baseline/controls/data/dialog')
0 files changed, 0 insertions, 0 deletions