diff --git a/containment/package/contents/ui/abilities/privates/LayouterPrivate.qml b/containment/package/contents/ui/abilities/privates/LayouterPrivate.qml index 9e763b274..472c88944 100644 --- a/containment/package/contents/ui/abilities/privates/LayouterPrivate.qml +++ b/containment/package/contents/ui/abilities/privates/LayouterPrivate.qml @@ -90,6 +90,7 @@ Item { var curApplet = layout.children[i]; // console.log( "org.kde.latte s3_-1 " + curApplet.pluginName + " : "+ curApplet.index +" (" +curApplet.isAutoFillApplet+","+!curApplet.isHidden +") "); + // console.log( "org.kde.latte s3_-1 " + curApplet.pluginName + " : "+ availableSpace + " _ " + sizePerApplet + " _ " + noOfApplets); if (curApplet && curApplet.isAutoFillApplet && !curApplet.isHidden && (curApplet.applet || curApplet.isInternalViewSplitter)) { @@ -185,7 +186,7 @@ Item { var isNeutral = (minSize<=0 && prefSize<=0); - // console.log( " s4_0 " + curApplet.pluginName + " : (" +minSize+","+prefSize+","+maxSize+") "); + // console.log( " org.kde.latte s4_0 " + curApplet.pluginName + " : (" +minSize+","+prefSize+","+maxSize+") "); if (!isNeutral && maxSize===Infinity && ((inMaxAutoFillCalculations && curApplet.maxAutoFillLength>mostDemandingAppletSize) @@ -208,13 +209,13 @@ Item { mostDemandingApplet.minAutoFillLength = mostDemandingApplet.minAutoFillLength + sizePerApplet; } - // console.log("s4_1 "+ mostDemandingApplet.applet.pluginName + " assigned: " + mostDemandingApplet.maxAutoFillLength + "\n"); + // console.log(" org.kde.latte s4_1 "+ mostDemandingApplet.applet.pluginName + " assigned: " + mostDemandingApplet.maxAutoFillLength + "\n"); } else if (neutralAppletsNo>0) { //! if no demanding applets was found then the available space is splitted equally //! between all neutralApplets var adjustedAppletSize = (sizePerApplet / neutralAppletsNo); for (var j=0; j=1 /*main layout has applet in it*/ || (appletItem.layouter.mainLayout.shownApplets===0 /*main layout is empty*/ - && appletItem.layouter.endLayout.fillApplets === 1))) + && appletItem.layouter.endLayout.fillRealApplets === 0))) || (parent === layoutsContainer.endLayout - && appletItem.layouter.endLayout.fillApplets === 1 + && appletItem.layouter.endLayout.fillRealApplets === 0 && (appletItem.layouter.mainLayout.shownApplets>=1 /*main layout has applet in it*/ || (appletItem.layouter.mainLayout.shownApplets===0 /*main layout is empty*/ - && appletItem.layouter.startLayout.fillApplets === 1)))) + && appletItem.layouter.startLayout.fillRealApplets === 0)))) readonly property bool inConfigureAppletsDragging: root.dragOverlay @@ -1067,7 +1067,7 @@ Item { readonly property string labeltext: { if (appletItem.isAutoFillApplet) { - return " / max_fill:"+appletItem.maxAutoFillLength + " / min_fill:"+appletItem.minAutoFillLength; + return " || max_fill:"+appletItem.maxAutoFillLength + " / min_fill:"+appletItem.minAutoFillLength; } return "";