Listbox horizontal scroll bar
BMangum
The wave is displayed in a listbox (part of a much larger GUI).
Some of the string entries can be very long.
The results displayed in the listbox extend too far to the right to be visible.
I do not have a horizontal scroll bar in this instance but would like one.
Attempting a work around, I put my results data into a 2d text wave (2 columns) and display it in the listbox, this is slightly better.
I do have a horizontal scroll bar but it is pretty worthless.
I cannot scroll over far enough to completely view the results.
I can resize the columns but still cannot view the entire contents of the first cell.
I am clearly missing something about how horizontal scroll bars are supposed to work with a listbox.
How do I get a horizontal scroll bar for a listbox that will actually work with a 1d wave?
listbox list0
make/o/t/n=100 list
listbox list0 listwave=list
list[0] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
ListBox list0 widths={1000}
June 2, 2016 at 02:59 pm - Permalink
This worked well though, I just put in a large value and the horizontal scroll bar appears.
Thanks, issue solved.
June 3, 2016 at 11:37 am - Permalink