|How to resize items in toolbar [message #667079]
||Tue, 26 April 2011 15:51
| David Pérez
Registered: July 2009
I have a label that I insert dynamically in a toolbar.
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.
Powered by FUDForum
. Page generated in 0.01535 seconds