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

Documentation of QTextEdit::tabStopWidth does not say in which unit the tabs are measured. The Qt 3 doc says it is pixels

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.6.1
    • 4.1.0
    • Documentation
    • None
    •  5a3bb4a1aa73d4687ede74ea6e1095ef4ba2e560

    Description

      I tried implementing a sourcecode editor. I want to have my text indented using tabs that are 4 spaces wide.

      I searched the documentation for a way to adjust the tabstop and found QTextEdit::tabStopWidth. The documentation says that this property has the magic value "80" assigned to it. After some tests, I found out that this is not 80 chars.

      Looking into the Qt3 documentation, it says that this are 80 PIXELS.

      Please state in the Qt4 documentation that the unit of this property is pixels if this is still the case.

      Attachments

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

        Activity

          People

            engvolds Morten Engvoldsen (Inactive)
            axeljaeger Axel Jäger
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes