Skip to content

[FormLayout] Use layout boundaries on twin layout hints

Ismael Asensio requested to merge work/twinlayouts_width_boundaries into master

When calculating the implicit size hint of a twin layout, we were not taking into account the Layout boundaries that those items may have (Layout.maximumWidth and Layout.minimumWidth)

This could result in the layout going to narrow mode, when visually all of the twin items could fit within the wide mode.

BUG: 434383 FIXED-IN: 5.81

BEFORE AFTER
kscreen_implicitWidth kscreen_twinlayouts_boundaries
Edited by Ismael Asensio

Merge request reports