Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » custom size for toolbar icon
custom size for toolbar icon [message #1803718] Thu, 07 March 2019 14:14
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 235
Registered: July 2009
Senior Member
Hi all,
I want to place a label control into the toolbar with a given size (width). Unfortunately, the label is always created with a default width and height which corresponds to the text length (label text). Is there a way to create an individual toolbar icon? Attached you'll find a screenshot with the used extension point and the running application. The red rectangular shows the place where I want to get the label. Currently, nothing is displayed. InfoLabel is my custom class (extends from WorkbenchWindowControlContribution).

  • Attachment: Toolbar.png
    (Size: 166.94KB, Downloaded 109 times)
Previous Topic: Scroll to one line in console plugin
Next Topic:Preferences and Menu Items are gone with 4.10 (or 4.9.)
Goto Forum:

Current Time: Thu May 30 16:34:05 GMT 2024

Powered by FUDForum. Page generated in 0.03349 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top