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

setTabPositions leads to text overlapping

    XMLWordPrintable

Details

    Description

      setting tab positons on QTextOption leads to text overlapping if tabs are too close together or if tabs are out of order (e.g. postion 10, then position 8).

      While I appreciate that Qt isn't attempting to be a word-equivalent, it is difficult meaningfully use the setTabPositions with this behaviour. Either an option such that if text extends past a tab position, that position is skipped is needed, or the default behaviour changed to better match the meaning of tab positions within other rich text systems.

      Attachments

        1. main.cpp
          0.7 kB
          Ian Walters
        2. main_overlap.cpp
          0.9 kB
          Ian Walters
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            elhedran Ian Walters
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes