Details
-
Bug
-
Resolution: Done
-
P5: Not important
-
6.0.0
-
None
-
ubuntu 19.04
Win10
-
-
78c4d0c48f58854127aa9248f597bf8568f440a1 (qt/qtbase/dev)
Description
description:
When QPlainTextEdit sets the value of tabStopDistance to be less than the minimum width of a TAB character, QPlainTextEdit will display the incomplete tab character.
This bug not only exists in QPlainTextEdit, but also exists in QTextEdit, and it can be reproduced in Windows.
linux.mp4 and windows.mp4 show the same behaiver of this bug.
reason:
The character width of a tab is 12px. When the tabStopDistance value is less than 12px, the tab character is not drawn completely. So we should limit the minimum value of tabStopDistance not to be less than the width of the tab character.
Attachments
For Gerrit Dashboard: QTBUG-92205 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
341124,16 | Add new enum value VisualTabCharacter into QChar | dev | qt/qtbase | Status: MERGED | +2 | 0 |