Action text in ScrolledForm toolbar [message #310948] |
Thu, 21 December 2006 17:43  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.02853 seconds