Bug 58749 - [Window] PerspectiveBarContributionItems have too short a maximum width
Summary: [Window] PerspectiveBarContributionItems have too short a maximum width
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Van Meekeren CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2004-04-15 17:14 EDT by Billy Biggs CLA
Modified: 2004-05-25 11:36 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (12.96 KB, image/png)
2004-04-15 17:14 EDT, Billy Biggs CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Billy Biggs CLA 2004-04-15 17:14:19 EDT
I20040413

When the perspective bar is docked under the main toolbar, there is a lot of
horizontal room for the buttons.  However, when text is shown in the perspective
bar buttons, PerspectiveBarContributionItem.shortenText() limits the width of
each button to 5 times the icon size.  This causes many perspectives to have
their names cut off.

Maybe the maximum size should be increased when the perspective bar icons are
docked below the main toolbar?
Comment 1 Billy Biggs CLA 2004-04-15 17:14:51 EDT
Created attachment 9561 [details]
screenshot

This screenshot shows how many of the names are being cut off too early.
Comment 2 Michael Van Meekeren CLA 2004-05-25 11:11:18 EDT
when the perspective bar is docked on the top left the full text is shown.
Comment 3 Billy Biggs CLA 2004-05-25 11:36:19 EDT
Verified the fix.  Looks great.