MATLAB Answers

App Designer - ListBox Tooltip for too long entries not there any more in 2019b

14 views (last 30 days)
Tim P
Tim P on 7 Jan 2020
Edited: Tim P on 9 Jan 2020
I made an app with App Designer in Matlab 2018a. Now I swichtched to 2019b.
In my app are a lot of list boxes with entries that are too long for showing it completely. In 2018a too long entries ended with "..." and if you hover over it, a tooltip appeared, that showed the full entry text.
Now in 2019b this is not the case any more. I tried all the options in the graphic version of the app designer, but could not solve the problem. I want to avoid useless scrolling to the right and left. So I want the tooltips back.
Is there any way to get a tooltip in 2019b , like in the 2018a app designer?
Thank you!
2018a (too long entries with three dots, and if you hover over an entry, you see the full text):
2019b (text just cut, but therefore the scrollbar is there, hovering not possible):

Answers (1)

Cameron B
Cameron B on 7 Jan 2020
How did you originally get the tooltip to specify only the line you're hovering on in 2018a? The only way I know is to use mouse wheel movement callbacks, but maybe there's another method. Every time I use tooltip it just shows the entire contents of the tooltip cell array.
Tim P
Tim P on 9 Jan 2020
No I don't need multiple selection. But the tooltip should appear also if the item is not selected.
What I need for my app: I have a list loaded, and every entry corresponding to a measurement data file. The App plots all of the measurements. If I klick on one measurement in the list, it shows in a table the details of this measurement, such as Date, used Settings, Equipment, etc... But the names of the measurements are pretty long, and for example if I have measurments of the same sample with different settings, the file-names start the same, but end different. So in 2018a it was possible to see the full file-name by hovering over the file name. As seen in the screenshot above (3 dots and tooltip if it is hovered).
By uiDropDown you mean that I should use a drop down menu? Sadly not possible. I need to see all the data names. They are also used as color legend for the plots...

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!