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

Add a forceLayout function to positioners

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 5.9
    • None
    • None

    Description

      Positioners do not do actual positioning until polish. This can sometime cause issues in imperative code. For example, changing the visibility of the child of a hidden Row will not update the Row's geometry until it is shown.

      The View elements contain a forceLayout function (added in 53e317468626284fe26877659dff551ce3bc0e55) that would be useful in cases like this – consider making such as function available to the Positioner elements as well.

      Attachments

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

        Activity

          People

            mbrasser Michael Brasser
            mbrasser Michael Brasser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes