yabar icon indicating copy to clipboard operation
yabar copied to clipboard

"align: center" doesn't center my block properly

Open rvdz opened this issue 7 years ago • 3 comments

If the slack size is not equals to zero, I can't center perfectly my blocks on the bar as the slack size will be added when the position of the block is computed.

rvdz avatar Jul 04 '17 18:07 rvdz

I found a clue to fix this. In the function ya_create_block, around line 113, I removed an extra blk->bar->slack added value and it seems to work fine.

rvdz avatar Jul 04 '17 20:07 rvdz

Feel free to make a pull request and we can work from there.

NBonaparte avatar Jul 09 '17 04:07 NBonaparte

Issue still not fixed on Debian 9.3 with yabar v0.4.0-1 installed with apt install yabar

romzie avatar Jan 03 '18 11:01 romzie