diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-12-14 16:17:22 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2019-01-04 11:25:47 +0000 |
commit | 17fe5fc128541553b1eda719d47221763959f8b6 (patch) | |
tree | bb36a37f3e4a0d4776c06c71474eed97cf9ad62c /src/corelib/doc/snippets | |
parent | 66c9161d055ad221d1a0c53d35e00484027cf775 (diff) |
Restore behavior for QToolTip not wrapping by default
This partially reverts 7a1d77b6e4ec38ae8fc17, which caused regressions
e.g. in Qt Creator.
The behavior of QToolTip for wrapping has been always special in
that wordWrap was enabled as soon as some HTML tags were
detected, while plain text was not wrapped. This is arguably bad API,
but by now a lot of applications depend on this exact behavior, so
I don't think it's worth to change this anymore.
What can be kept though is the check for overlong tooltips that do not
fit on the screen. In this case wrapping makes sense.
[ChangeLog][QtWidgets] Reverted a Qt 5.12.0 behavior change in
QToolTip that made plain tooltip text be wrapped automatically.
Fixes: QTBUG-72568
Change-Id: I6fa3e455f09cffaeb8ad1cdc6e81d71ae344dd34
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
0 files changed, 0 insertions, 0 deletions