We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Does anyone know if it is possible to change the size of "item" text in scrollable lists ?
I can only find examples of changing the CaptionLabel .. i.e the header/name of your scrollable list, but not the size of the text for items within the list. Hopefully i'm just missing an obvious solution to improve the legibility of these items in the list.
Cheers, mala
Answers
Hi
Can you try
This should do the trick. I apologize for not providing some real code. Having some issues finding my previous code with those lines. Let me know if it doesn't work.
I hope this helps,
Kf
thank you for the suggestion, trying this as below in the scrollableList example, I get the error "setFont(ControlFont)" does not exist ?
cp5.get(ScrollableList.class, "dropdown").getItem(0).setFont(font);
mala
of course I figured it out straight after posting the above!
.getValueLabel.setFont(font)
seems to work fine
Here is my code. Sorry for my delay.
Kf