App Designer Tooltip for long cell content in UITable is covered by other objects

21 Ansichten (letzte 30 Tage)
I have some problems in App Designer with the automatic Tooltips in UITable for too long text in a cell. If you have a cell with too long text, it shows three dots, that shows the user, that hovering will give a tooltip that shows the full text.
The tooltip is not always on the front, it depends on the creation order of the UITables. But I want to have this automated tooltips always on top, since they are very usefull and prevent scrolling always to the right, if the cell contains a lot of text. And I don't want to delete all the elements of my app and add them in the right order, to prevent overlapping.
Is there any possible way to force this type of tooltip to be always on the front?
I am using Matlab 2019b
Thank you in advance!
Here an example:
I created 3 UITables, first "UITable1", second "UITable2" and then "UITable3". The ColumWidths are fixed to a value to prevent scrolling, and this leads to the 3 dots, which show the user, that if you hover over it, the tooltip appears.
The second column I filled then with long text:
% Code that executes after component creation
function startupFcn(app)
names = {'Lore'; 'Another'};
lore = {'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'; 'Again a too long text for the field'};
app.UITable1.Data = names;
app.UITable2.Data = names;
app.UITable3.Data = names;
app.UITable1.Data(:,2) = lore;
app.UITable2.Data(:,2) = lore;
app.UITable3.Data(:,2) = lore;
end
Results in this app:
Tooltip0.png
So if I hover over the text of the "UITable1" the tooltip is covered by "UITable3", because Table3 was created after Table1:
Tooltip1.png
If I hover over text of Table3 it is in front of Table2, because Table3 was created after Table2:
Tooltip3.png

Antworten (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi am 24 Jan. 2020
Hi Tim,
I have brought this issue to the notice of our developers. They will investigate the matter further.
  2 Kommentare
Tim P
Tim P am 24 Jan. 2020
Hello Sahithi,
is it possible to ask the developers, why the automatic ListBox Tooltip for too long entries is not there any more in 2019b? It was possible in 2018a. Or if they could make a tik-Box for activating this feature again or something like that...?
My problem is explained here:
Or maybe you have an idea...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by