-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ResizingPlainTextEdit hiding text in some circumstances
In some scenarios - the exact reason is not known - the widget would scroll to the very last row, which is always empty, and result in the text cursor and the already entered text being moved above the displayed edit area. It could be fixed by manually scrolling back up (e.g. by attempting to highlight text with the mouse), but the problem would reappear as soon as new existing text was modified. To work around this issue text wrapping was disabled and additional height will be added for the horizontal scroll bar, if they are visible. There are still some issues of the height randomly flickering in the scenarios, which would previously result in the text no longer being visible.
- Loading branch information
1 parent
39de097
commit 69770ee
Showing
2 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters