When you change font size for the buttons (ACK and Shelve) in the Alarm Status Table, then the three icons on the bottom right are so small…, especially on the touch screen…
How can we change the icons size too?
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
UtilityPanel
that 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_ICON
on that action. You’ll need an instance of an Icon - you could importImageIcon
and make a newImageIcon
from an image in image management by using theImageLoader
class.
2 Likes
Thank you for your reply and explanation. But this is a little too much for me…
I’m better with some sample code.
Could you…?