devxlogo

Different Toolbar Text from Toolbar Tip Text

Different Toolbar Text from Toolbar Tip Text

Question:
How do I get short names for my toolbar text, but longer text for the toolbar tips? For example, I’d like the toolbar tip to read “Usage Statistics” but only show “Usages” as the toolbar text.

Answer:
You need to use the toolbar text attribute in the menu painter. Type the text for the toolbar icon first, followed by a comma and the text for the toolbar tip. For example:

 Usages,Usage Statistics

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist