Could you please implement specific gaps for each side (e.g. in percent).
Opened this issue · 0 comments
GentleGhostCoder commented
Could you please implement specific gaps for each side (e.g. in percent).
Here is an example like:
inputs:
const topGridPortion = 10
const bottomGridPortion = 100
const leftGridPortion = 10
const rightGridPortion = 10
calculation before move_resize_frame:
x = x+(workArea.gaps.x*(leftGridPortion/100-1))
w = w-(workArea.gaps.x*(leftGridPortion/100-1))-(workArea.gaps.x*(rightGridPortion/100-1))
y = y+(workArea?.gaps.y*(topGridPortion/100-1))
h = h-(workArea.gaps.y*(topGridPortion/100-1))-(workArea.gaps.y*(bottomGridPortion/100-1))
Would be cool if it was in the original extension.