Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 247384

Summary: Long Legend title should be wrapped
Product: z_Archived Reporter: Yi Wang <yi.wang>
Component: BIRTAssignee: Yi Wang <yi.wang>
Status: VERIFIED FIXED QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: unspecifiedKeywords: plan
Target Milestone: 2.5.0 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard: Autoed-All,G

Description Yi Wang CLA 2008-09-15 21:50:10 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1.Open the attached report design, we can see that very long legend title can cause problem.
2.
3.


More information:
The origin of this bug is TED #2483. We make a Bugzilla entry here, so that it can be scheduled to 2.5.0.
Comment 1 Yi Wang CLA 2008-12-17 04:24:34 EST
Fixed.
Now long legend title will be wrapped, but also then the legend title can still be too long (vertically), it can simply not be endless long, in such case the legend title will be shortened with ellipsis.
A new property "title percent" is added to Legend, which indicates the percentage that the legend title can take from the maximal available space for legend. The UI to modify its value is in the "Legend Layout" dialog.
Comment 2 Xiaodan Wang CLA 2008-12-23 21:22:19 EST
Verified in build (2.5.0.v20081223-0630).