sojamo / controlp5

A gui library for processing.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change text size

alex-X-12 opened this issue · comments

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

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.