Community
Participate
Working Groups
If Coolbar have not contain actions and is left blank and used only to switch perspectives, then Coolbar becomes very high and spoils the whole appearance of the workplace.
I can reproduce it with the Workbench Demo. Just leave the DemoActionBarAdvisor#fillCoolBar() empty. Can you check this in RCP? Is the Coolbar height OK in the RCP?
i have checked it with RCP 3.4, strangely there is the same wrong behaviour. seems like a bug in RCP :(((
See the corresponding SWT bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=85261 If nobody minds I'll close this as wontfix until the SWT bug is fixed.
Will leave it open with a depedency to the SWT bug
The actual SWT bug is https://bugs.eclipse.org/bugs/show_bug.cgi?id=104545. The only change for this bug is to make the default width/height of the CoolBar 0, 0. But... we have a CBanner, which left composite has a CoolBar as a child with zero height. This triggers the default size (height) of the this Composite - 64. One possible workaround is to set the default CoolBar height to something different than 0 ( 1 will do the trick ). Thus, the CBanner left composite will have a preferred height of 1 instead of default 64 ( triggered by 0 height of CoolBar ).
As this is an issue with RCP too, please reopen the bug when it is fixed there.
*** Bug 391094 has been marked as a duplicate of this bug. ***