https://bugs.kde.org/show_bug.cgi?id=396404
Michail Vourlakos <mvourla...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvourla...@gmail.com --- Comment #5 from Michail Vourlakos <mvourla...@gmail.com> --- Just for the record if anyone is interested in this. Latte panels are not using GridLayout approach that Plasma panels already use. Latte panels have a left Grid, centered Grid, right Grid working at the same time always. Because of that I had to give to the user the impression that these three Grids are one single Grid that is working always correctly. Concerning applets that request to fillWidth/Height for simplicity lets call them applets that request to FillLength Latte extended the Qt approach of handling them. The Latte implementation for this is found at: https://invent.kde.org/plasma/latte-dock/-/blob/master/containment/package/contents/ui/abilities/privates/LayouterPrivate.qml I didnt like how Qt was handling applets that were requesting to FillLength so Latte approach is a little different: 1. Applets that DONOT request to FillLength, the occupy space first 2. The remaining space is divided to parts based on how many applets request to FillLength (so Latte has a ProposedLengthPerApplet in order for all FillLength applets to give them equal opportunity to occupy space) 3. For each FillLength applet we consider the following: ----if applet has provided minimum length this is provided always ----if applet has provided maximum length that is smaller than the latte proposed one then maximum is used ----if applet has provided preferred length that is smaller than the latte proposed one then preferred is used ----if applet has provided preferred length that is bigger than the latte proposed one then proposed is used ----After the applet occupied space ProposedLength is recalculated for remaining FillLength applets to occupy their space based on [3] -- You are receiving this mail because: You are watching all bug changes.