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

QLayout spacing inheritance

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes