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

Customize the spacing of the images in sidebar #30

Open
treylin opened this issue Apr 10, 2014 · 1 comment
Open

Customize the spacing of the images in sidebar #30

treylin opened this issue Apr 10, 2014 · 1 comment

Comments

@treylin
Copy link

treylin commented Apr 10, 2014

How can I customize the spacing of the images in sidebar? I use your control in my project, it's awesome. But I just got four images in sidebar, then I found that there were a space at the bottom of the sidebar.

@SpenDM
Copy link

SpenDM commented Jul 20, 2014

In RNFrostedSidebar.m find the function:

  • (void) layoutItems

As the second line you will hopefully find:
CGFloat topPadding = leftPadding;

Change this value to whatever you want.

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

No branches or pull requests

2 participants