App Designer - ListBox Tooltip for too long entries not there any more in 2019b
10 次查看(过去 30 天)
显示 更早的评论
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):
0 个评论
回答(1 个)
Cameron B
2020-1-7
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.
5 个评论
Cameron B
2020-1-9
Do you need to be able to select multiple items at once? If not, you can use the uidropdown feature instead. This might be easier than all other suggestions which may include java or other undocumented matlab work.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!