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

VisualTabCharacter shows different widths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.0, 5.15
    • None
    • Linux X11
    • Linux/X11

    Description

      Description

      when QPlainTextEdit's document() setDefaultTextOption with QTextOption::ShowTabsAndSpaces

      type some character into QPlainTextEdit widget  and input Tab-character in different position,

      the VisualTabCharacter shows different width.

      also see .mp4 video

       

      Hope all the width are the same,it is more friendly to user.

       

      I want to know if this is a bug or is it the design? 

      Attachments

        1. 企业微信截图_1619003713842.png
          企业微信截图_1619003713842.png
          26 kB
        2. Tab-character.mp4
          319 kB
        3. 92856.zip
          6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kingderzhang kingderzhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes