|Re: Right-aligned toolbar [message #643245 is a reply to message #643022]
||Mon, 06 December 2010 09:26
| Giddi Ohm
Registered: September 2010
Thanks for the tip, that solved the problem with the location. However, the result wasn't 100% as I had expected.|
My main toolbar has icons that are 32x32 in size. The search field is only 22 pixel high on Windows 7. Setting the location to "toolbar:org.eclipse.ui.trim.command2" will indeed put it in the upper-right corner, but since the toolbar is put in a different container it will not get the same height as my main toolbar and the search field is crammed up in the top-right corner and not centered vertically with my main toolbar icons.
Is there any way to force the height of this toolbar? Setting the minimum size of the components inside the toolbar doesn't make the toolbar taller, but instead the components will get clipped.
Also, is there a way to turn off the toolbar handle for just this toolbar? I don't want the user to be able to move the search toolbar around.
[Updated on: Mon, 06 December 2010 14:35]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02160 seconds