axtoolbar tooltips not working for uifigure with tiledlayout

31 visualizaciones (últimos 30 días)
CM
CM el 19 de Sept. de 2025 a las 0:58
Comentada: CM el 20 de Sept. de 2025 a las 23:28
The tooltips do not work for the following code, but if I use axtoolbar(plotHandle, ...) instead of axtoolbar(tileHandle, ...), they do. It also works if I use figure instead of uifigure.
f = uifigure('HandleVisibility', 'on');
tileHandle = tiledlayout(f, 1, 1);
plotHandle = nexttile(tileHandle);
line = plot(plotHandle, [0 1], [0 1]);
tb = axtoolbar(tileHandle, {'export', 'datacursor', 'pan', 'zoomin', 'zoomout', 'restoreview'});
I have also tried specifying the tooltips for each button explicitly. That does not work either.

Respuestas (1)

dpb
dpb el 19 de Sept. de 2025 a las 14:57
Movida: dpb el 19 de Sept. de 2025 a las 14:57
Hadn't ever looked, but the same behavior exists as far back as R2021b as well.
Mayhaps somebody w/ new release can confirm whether has been fixed more recently or not.
Submit this to Mathworks as an official support request/bug at <Product Support Page>

Categorías

Más información sobre Data Exploration en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by