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

Vertical Aligment isn't set the dirty flag for a change

    XMLWordPrintable

Details

    Description

      The "verticalAlignment" property change isn't triggering an update like the horizontal alignment.

      void QSGText::setVAlign(VAlignment align)
      {
          Q_D(QSGText);
          if (d->vAlign == align)
              return;
      
          d->vAlign = align;
          emit verticalAlignmentChanged(align);
      }
      
      
      void QSGText::setHAlign(HAlignment align)
      {
          Q_D(QSGText);
          bool forceAlign = d->hAlignImplicit && d->effectiveLayoutMirror;
          d->hAlignImplicit = false;
          if (d->setHAlign(align, forceAlign) && isComponentComplete())
              d->updateLayout();
      }
      

      Attachments

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

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            bubke Marco Bubke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes