Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounded corners #55

Closed
Amalip opened this issue Aug 14, 2020 · 5 comments
Closed

Rounded corners #55

Amalip opened this issue Aug 14, 2020 · 5 comments
Labels
question Further information is requested

Comments

@Amalip
Copy link

Amalip commented Aug 14, 2020

Is there a way to modify the rounding of corners?

@styrken
Copy link
Collaborator

styrken commented Aug 14, 2020

You mean the size?

@styrken styrken added the question Further information is requested label Aug 14, 2020
@Amalip
Copy link
Author

Amalip commented Aug 14, 2020

Yes, I need them more rounded @styrken

@styrken
Copy link
Collaborator

styrken commented Aug 14, 2020

Sure you can, check out the PartialSheetStyle struct. When adding the partial sheet to your root view, you can pass in a modified style.

.addPartialSheet(style: PartialSheetStyle(backgroundColor: Color(UIColor.tertiarySystemBackground),
                                       handlerBarColor: Color(UIColor.systemGray2),
                                       enableCover: true,
                                       coverColor: Color.black.opacity(0.4),
                                       blurEffectStyle: nil,
                                       cornerRadius: 10
))

@styrken
Copy link
Collaborator

styrken commented Aug 15, 2020

Please reopen if suggested solution does not work for you.

@styrken styrken closed this as completed Aug 15, 2020
@Amalip
Copy link
Author

Amalip commented Aug 15, 2020

Thanks I'll try that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants