psifidotos / nowdock-plasmoid

Plasma 5 plasmoid that creates a plank or mac style effect for tasks
GNU General Public License v3.0
37 stars 3 forks source link

asymmetric lateral margins when the panel anchor is set other than centered #34

Closed kupiqu closed 7 years ago

kupiqu commented 7 years ago

this is a rather minor thing, but it would be nice to decrease the ending lateral margin that is opposite to the anchor, so the panel looks symmetric

note: perhaps this should be set as an issue for the panel but not sure all the people uses the panel

psifidotos commented 7 years ago

this is a rather minor thing, but it would be nice to decrease the ending lateral margin that is opposite to the anchor, so the panel looks symmetric

note: perhaps this should be set as an issue for the panel but not sure all the people uses the panel

for panel issues consider reporting directly to corresponding page: https://github.com/psifidotos/nowdock-panel/issues/

concerning what you are describing, the ending lateral margin is not taken into account even in the current implementation. I believe that by setting default the bounce animation to use zoomFactor *(iconSize+margin) //this margin is not the latter but the first which is near the dots and lines

and taking into account the above size into computations the space you are describing that is not needed will simple disappear....

So in this case for everything the maximum needed space will be: zoomFactor *(iconSize+margin) // which is also the one of the hover animation

psifidotos commented 7 years ago

sorry... I just noticed that you are describing a different thing from what I undestood previously...

please report this to Now Dock Panel: https://github.com/psifidotos/nowdock-panel/issues/

and I would like a screenshot also to understand about what margin you are describing and what you want to achieve....