LiquidFloatingActionButton icon indicating copy to clipboard operation
LiquidFloatingActionButton copied to clipboard

Extra space between first cell and button

Open mitchellporter opened this issue 9 years ago • 2 comments

Right now, the first cell always has a bigger space between it and the button, but I need the space to match the space between all of the other cells.

I basically need the same amount of space between all of the cells, and the first cell and the button.

So if all of the cells have 20px between them, I also need to have 20px of space between the button and the first cell.

So far I've been able to tweak the code to fit my needs but I can't seem to figure this one out.

Thanks for the help.

mitchellporter avatar Apr 19 '16 00:04 mitchellporter

I have the same problem, any solution yet?

xeravim avatar May 12 '16 03:05 xeravim

perform change into LiquidFloatingActionButton class and changes in func updateOpen(). replce this line let distance = (cell.frame.height * 0.0 + CGFloat(i + 1) * cell.frame.height * 1.5) * posRatio

BrijeshShiroya avatar May 07 '17 02:05 BrijeshShiroya