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 change text size #170

Open
alex-X-12 opened this issue Apr 10, 2021 · 1 comment
Open

How to change text size #170

alex-X-12 opened this issue Apr 10, 2021 · 1 comment

Comments

@alex-X-12
Copy link

hello, i cant change text size of dropdownlist item its VERY small. textSize() - not working for text in dropdownlist.
image

@geraltthegwynbleidd
Copy link

Hello, I hade the same issue. The solution is to update the ControlP5 library to the latest 2.2.6 version from here: https://github.com/sojamo/controlp5/releases.
After that, you can add .setFont( ) function during the initialization of your ScrollableList. You have to add an already created PFont as a parameter to this function. In this way you can change font as well as it's size.

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