Opened 17 years ago
Closed 17 years ago
#831 closed defect (fixed)
List box is too small to display full text and offers no horizontal scroll
Reported by: | Johan Enell | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.5 |
Component: | web | Version: | 2.4.6 |
Keywords: | Cc: |
Description
I'm adding members to a project. I the name is to long the permission information at the end of the line gets hidden. A horisontal slide should appear or the information should be displayed at the left side.
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Milestone: | BASE 2.6 → BASE 2.5 |
---|---|
Status: | new → assigned |
Summary: | Horisontal scroll → List box is too small to display full text and offers no horizontal scroll |
On the fortunate side I found that a solution building on the second alternative above is relatively 'simple' to implement. Most lists that may be affected by the problem are populated with javascript and use the Forms.addListOption() to add options to the list. It is possible to add code in this method that automatically checks the width of the list and then crops the text and adds a tooltip if the text is too long to fit.
I'll go ahead an fix the problem for list boxes that are populated in this way.
I'll also increase the width of the list in the sharing dialog. It is a bit tiny at the moment.
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Unfortunately list boxes doesn't have support for horizontal scrolling. The same problem exists with all other list boxes in BASE as well. I don't like the idea of displaying the permission info to left. It would not look good. I have no real good/simple idea for solving this. Here are a few options.