Jump to content

Listbox: How to deal with long lines that get cut off?


 Share

Recommended Posts

Hey guys,

When I make a listbox, sometimes I have entries added into it that are very long (longer than the width of the listbox itself). So these entries get cut off and there is no way for me to see the part that gets cut.

Well, I can think of two ways to overcome this problem.

1) Add a horizontal scrollbar to the listbox. This works, but not the way I want it to. I can only add a horizontal scrollbar with a fixed width. This means that the scrollbar is always visible and lets me scroll all the way to the end even if the scrollbar isn't needed. Is there any way to get the horizontal scrollbar to work just like the vertical scrollbar? (You know, the vertical scrollbar only shows up when needed, and adjusts to the correct height automatically).

2) Make a tooltip that displays the full listbox entry when the mouse hovers over it. Don't know how to do this one... but it sounds like a cool idea.

If anyone knows how to solve this problem, please help.

Thanks!

Edited by lemony
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...