You’re going to have a hard time doing this, unfortunately. The buttons that are tied to those actions have specific, hardcoded icons. If you’re already drilling into the component to change the button font size, I’ll skip that step, but you will probably have to do something like:
- obtain reference to the
UtilityPanelthat contains the three buttons - access the
viewButton,chartButton, andmanageShelfButton. - Pull the “action” out of them with
getAction()(more context on what actions are here) - Set a new
Action.SMALL_ICONon that action. You’ll need an instance of an Icon - you could importImageIconand make a newImageIconfrom an image in image management by using theImageLoaderclass.