1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 19:21:41 +03:00

fixes for Layouter ability in Container

This commit is contained in:
Michail Vourlakos 2020-05-14 10:57:23 +03:00
parent 6be6450f18
commit 302140972c
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ Item {
//! that remained with no computations from pass1
//! are updated with the algorithm's proposed size
function computeStep2ForLayout(layout, sizePerApplet, noOfApplets) {
if (sizePerApplet>0) {
if (sizePerApplet>=0) {
if (noOfApplets === 0) {
//! when all applets have assigned some size and there is still free space, we must find
//! the most demanding space applet and assign the remaining space to it

View File

@ -428,7 +428,7 @@ Item{
}
readonly property string tagText: {
return "MAX:" + root.maxLength + " / TOT:"+layoutLength + " / LAYS:"+ layoutsLength;
return "MAX:" + root.maxLength + " / MIN: " + root.minLength + " TOT:"+layoutLength + " / LAYS:"+ layoutsLength;
}
}
}