no title on perspectiveBar icons [message #120518] |
Thu, 05 February 2009 06:28  |
Eclipse User |
|
|
|
Hi,
The titles are showing on the demo app, so I am assuming its my own doing.
But I have an app with 3 perspectives and in the perspectiveBar in the top
right of the workbench, no Titles are being displayed, though the tooltips
work OK.
The code is plucked straight from the demo code, and the "name" is set in
the plugin.xml files.
in my workbench advisor preWindowOpen();
configurer.setShowPerspectiveBar(true);
in my plugin.xml;
<perspective
class="myapp.CatManagerPerspective"
icon="icons/status.gif"
id="myapp.perspective1"
name="AccountOverview">
</perspective>
but no titles
Any ideas?
Cheers,
Tom
|
|
|
Re: no title on perspectiveBar icons [message #120558 is a reply to message #120518] |
Thu, 05 February 2009 07:44  |
Eclipse User |
|
|
|
Hi Tom,
it may be that you changed the value of some preferences to control the
look and feel.
See IWorkbenchPreferenceConstants.SHOW_TEXT_ON_PERSPECTIVE_BAR
Or just try to clear your configuration area to reset the default
values. Default is true (show text) as long as you don't override the
value yourself.
Greets
Benny
Tom H wrote:
> Hi,
>
> The titles are showing on the demo app, so I am assuming its my own
> doing. But I have an app with 3 perspectives and in the perspectiveBar
> in the top right of the workbench, no Titles are being displayed, though
> the tooltips work OK.
>
> The code is plucked straight from the demo code, and the "name" is set
> in the plugin.xml files.
>
> in my workbench advisor preWindowOpen();
> configurer.setShowPerspectiveBar(true);
>
> in my plugin.xml;
> <perspective
> class="myapp.CatManagerPerspective"
> icon="icons/status.gif"
> id="myapp.perspective1"
> name="AccountOverview">
> </perspective>
>
> but no titles
>
> Any ideas?
>
> Cheers,
>
> Tom
>
|
|
|
Powered by
FUDForum. Page generated in 0.06331 seconds