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: Thu Oct 08 20:29:25 GMT 2015

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

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