Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to resize items in toolbar
How to resize items in toolbar [message #667079] Tue, 26 April 2011 15:51
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member

I have a label that I insert dynamically in a toolbar.

<toolbar id="com.jobisjob.proxy">

The label text can change, and so the needed width.
My contribution inherits from WorkbenchWindowControlContribution.
The width of the associated ToolItem is calculated only once.
How do I tell that the width needs to be recalculated?

This doesn't happen with ControlContribution's placed in a view toolbar.

Thanks in advance for any hint.
Previous Topic:CompareEditor throwing Null Exception when selected
Next Topic:Add Drag And Drop support for Team Synchronize View ?
Goto Forum:

Current Time: Sat Jun 23 12:37:09 GMT 2018

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

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

Back to the top