axtoolbar tooltips not working for uifigure with tiledlayout
Afficher commentaires plus anciens
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.
2 commentaires
dpb
le 26 Oct 2025
I doubt there will be workarounds for internal callback issues since they're Mathworks-supplied.
The only chance I would see would be it you could somehow catch the error in the callback if it were in m-code but I'd expect being able to figure out how to do something about it would be tough even if could.
Réponses (1)
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>
1 commentaire
CM
le 20 Sep 2025
Catégories
En savoir plus sur Data Exploration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!