DynamicButton icon indicating copy to clipboard operation
DynamicButton copied to clipboard

Button Icon Size + Round Background

Open otymartin opened this issue 7 years ago • 2 comments

@yannickl For the DynamicButtonStyle.arrowUp I'm trying to round it but i end up with the arrow at the top instead of center. how come? Could you make it possible to adjust icon size and properly align it in the center

otymartin avatar Jan 29 '17 04:01 otymartin

Hi @otymartin,

You can modify the contentInsets property to adjust the display area. By default it is sets to .zero so that's why the path can be near the border when you have rounded buttons.

yannickl avatar Jan 29 '17 12:01 yannickl

@yannickl nice i'll try that

otymartin avatar Jan 30 '17 02:01 otymartin