Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1709 closed enhancement (fixed)

Ajax viewer legend get messy when small

Reported by: bscott Owned by:
Priority: low Milestone: 2.3
Component: AJAX Viewer Version: 2.2.0
Severity: minor Keywords:
Cc: External ID:

Description

When we have legend with text longer than the legend itself all text get word wrapped. This make the Legend unreadable. So i include a little patch that turn off word wrapping. It truncates the text and you can use the scroll bar to see the hidden part. I've included a flag to be able to turn on and off that feature. This patch could be more readable if we remove that flag. For my point of view, the legend that way is much more readable... I've tested on IE, FireFox and Chrome

Attachments (3)

LegendNoWrap.zip (8.9 KB ) - added by bscott 13 years ago.
legendNoWrap.patch (7.5 KB ) - added by bscott 13 years ago.
legendui.patch (7.8 KB ) - added by crispinatime 13 years ago.
legendui - no wrap, no scroll

Download all attachments as: .zip

Change History (5)

by bscott, 13 years ago

Attachment: LegendNoWrap.zip added

by bscott, 13 years ago

Attachment: legendNoWrap.patch added

comment:1 by jng, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in 2.2 (r5890) and trunk (r5891). Thanks for the patches.

by crispinatime, 13 years ago

Attachment: legendui.patch added

legendui - no wrap, no scroll

comment:2 by crispinatime, 13 years ago

Hi,

I was wondering why I didn't see that effect... because we use a slightly different fix that I should have submitted as a suggestion but forgot.

This wraps the text so you don't have to horizontal scroll the legend but still keeps everything lined-up and tidy.

Crispin

Note: See TracTickets for help on using tickets.