Use QLayout functions where necessary. Setting margin and spacing values recursively for all children prevents QLayout from creating platform native layouts.
Use QLayout functions where necessary. Setting margin and spacing values recursively for all children prevents QLayout from creating platform native layouts.
Use the style's layoutSpacing() function to query individual spacings. Different platforms may use different values depending on widget types and pairs.