Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Action text in ScrolledForm toolbar
Action text in ScrolledForm toolbar [message #310948] Thu, 21 December 2006 17:43 Go to next message
Eclipse UserFriend
Hi,
I tried adding an action (with just text and no image) to a ScrolledForm's
toolbar, but the toolbar button shows an empty space above the action's
text as if it was a placeholder for something (an image?). Code Ive used:

ScrolledForm form = managedForm.getForm();
form.getToolBarManager().add(myAction1);
form.getToolBarManager().add(myAction2);

where myAction1 is is the one with no image and just text, while myAction2
has an image. If I dont add myAction2, the empty space does not show.
Seems that the image in the myAction2 is forcing a placeholder or
something causing the empty space in myAction1.

Alternatively, is there a way to show a Text control or Label on the
toolbar for a ScrolledForm, as this is essentially what I am trying to
achieve?
Re: Action text in ScrolledForm toolbar [message #311266 is a reply to message #310948] Sun, 07 January 2007 18:17 Go to previous message
Eclipse UserFriend
Any ideas/help on this issue please?
Previous Topic:OS-X keyboard shortcuts
Next Topic:Refresh a TextViewer
Goto Forum:
  


Current Time: Sat May 10 21:48:22 EDT 2025

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

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

Back to the top