mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
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
This commit is contained in:
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…
x
Reference in New Issue
Block a user