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:
parent
6be6450f18
commit
302140972c
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user