ignore maxlength=0 for fill lenght applets

--fix mediacontroller_plus applet scenario
by ignoring maximum width = 0 that qt is
already doing for Layouts that fill length.

BUG:445869
work/m_layershell
Michail Vourlakos 3 years ago
parent 518563a8c1
commit eb6ae017fe

@ -88,7 +88,10 @@ Item {
minSize = minSize>=0 && minSize!==Infinity ? minSize : -1;
prefSize = minSize>=0 && prefSize!==Infinity ? prefSize : -1;
maxSize = maxSize>=0 && maxSize!== Infinity ? maxSize : -1;
//! Qt ignores maximumlength=0 for applets that have set Layout.fillLength flag
//! this was tracked through bug #445869, mediacontroller_plus applet case
maxSize = maxSize>0 && maxSize!== Infinity ? maxSize : -1;
var appliedSize = -1;
//! check if the applet does not provide any valid metrics and for that case

Loading…
Cancel
Save