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

How to reduce spacing between text #181

Open
chinmay4github1987 opened this issue May 5, 2023 · 1 comment
Open

How to reduce spacing between text #181

chinmay4github1987 opened this issue May 5, 2023 · 1 comment

Comments

@chinmay4github1987
Copy link

I am trying to reduce the space using

const styles = StyleSheet.create({
dropdownContainer: {
paddingVertical: -5,
paddingHorizontal: -10,
}
});
But not working how to reduce the spacing between the list of dropdown elements.

@Gautam-Joshi
Copy link

Hi, if you still need a solution, I managed to solve the issue by adding negative margins to the itemTextStyle prop.

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