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

QLayout spacing inheritance

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • None
    • Widgets: Layout
    • None

    Description

      QLayout documentation states that if no value is explicitly set for spacing, the layout's spacing is inherited from the parent layout, or from the style settings for the parent widget.

      This appears to be counter-intuitive, as the child layout's spacing value would likely not depend on its parent.

      Users would expect the default value to be applied which would make more sense. Instead, all child layouts will now have to be explicitly modified which seems to be more work than is necessary.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            gpf Shane McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes