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

QTextDocument::drawContents ignores vertical alignment

XMLWordPrintable

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

      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.

        1. screenshot3.png
          1 kB
          Kimmo Kotajärvi
        2. bug.tar.gz
          1 kB
          Kimmo Kotajärvi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes