Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120193

Per pixel scrolling in QPlainTextEdit

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.3
    • None
    • Windows

      When scrolling any widget, we can notice that it moves by pixels. But in the case of QPlainTextEdit, things are a little different. It scrolls not by pixels, but by lines. That is, we will never see any line being only half visible. A similar problem occurs in QTableWidget, but there it is solved by setting the scrolling mode.

      `this->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel)`

      Is it possible to implement similar functionality in QPlainTextEdit?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            okwy Nikita Khromykh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes