Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32987

Right Column Margin broken from QtCreator 16

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 16.0.0, Qt Creator 16.0.2
    • Editors
    • None
    • Linux/X11

    Description

      Right margin at column seems to be broken starting from QtCreator 16.
      More specifically, changing the zoom on the code changes the margin position, which is not consistent and it is always wrong.

      I attached a few screenshots of the same code and cursor position with zooms from 80% to 120%.
      The margin is set to 80 columns, and the cursor is at the position where the margin should actually be.

      To replicate the issue:

      Edit -> Preferences -> Text Editor -> Check "Display right margin at column: " and set '80' as value
      Then check the position of the margin, changing zoom with 'ctrl''' and and 'ctrl'+'-'

      Attachments

        1. 90.png
          90.png
          335 kB
        2. 80.png
          80.png
          332 kB
        3. 120.png
          120.png
          358 kB
        4. 110.png
          110.png
          347 kB
        5. 100.png
          100.png
          339 kB

        Issue Links

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

          Activity

            People

              davschul David Schulz
              alemuntoni Alessandro Muntoni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes