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

QTextDocument::drawContents ignores vertical alignment

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.7.0
    • GUI: Text handling
    • None
    • Ubuntu

    Description

      Vertical alignment (Qt::AlignTop, AlignBottom, AlignVCenter) set through QTextOption is not taken into account with QTextDocument::drawContents. Horizontal alignment works.

      Screenshot: Three QTextDocuments aligned Qt::AlignBottom | Qt::AlignLeft, Qt::AlignVCenter | Qt::AlignHCenter and Qt::AlignTop | Qt::AlignRight.

      Attachments

        1. bug.tar.gz
          1 kB
        2. screenshot3.png
          screenshot3.png
          1 kB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              kko Kimmo Kotajärvi
              Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes