SwipeCell icon indicating copy to clipboard operation
SwipeCell copied to clipboard

Rounded corners

Open alextrubacs opened this issue 2 years ago • 2 comments

alextrubacs avatar Mar 04 '23 17:03 alextrubacs

Thank you for your participation It is indeed a good idea to use RoundedRectangles to create a button background area in some situations. But there are still most people who don't want to use rounded corners, or want to customize the rounded radius. Perhaps it would be better to add a Radius parameter to the SwipeCellSlot type. When the data is 0, it will still render as a rectangle. This would allow for more usage scenarios. You can try to make further adjustments to the code. If it is difficult, I can borrow your idea and implement the above in a day or two.

fatbobman avatar Mar 05 '23 07:03 fatbobman

Hi my pleasure. To be honest I just whipped up a quick fix for my use case. If I have time later this week can add the radius parameter and make this reusable if you won't by that time.

alextrubacs avatar Mar 06 '23 15:03 alextrubacs