Why is appdesigner toolbar not visible when visible is defined as 'on'?
Show older comments
Hello,
I am having trouble with Appdesigner toolbar.
First, is there a way to get it always be visible and not just when you hover over it with your mouse?
Second, despite when I define:
app.UIAxes.Toolbar.Visible = 'on'
the toolbar is not visible. I'm able to interact with it but it just disappears. Is there a fix?
8 Comments
Adam Danz
on 14 May 2021
The visibility is on by default which means that it becomes visible when you hover over it. I'm not sure what the fix is for uifigures.
Adam Danz
on 14 May 2021
I have never experienced that and it's certainly not a documented option for the axis toolbar. If the axes contain very many object that can slow down rendering and may affect the listeners that are responsible for revealing the toolbar but it should eventually appear when hovering in the right place.
You can contact tech support: Contact Us - MATLAB & Simulink
Peter
on 2 Jun 2021
Hello, I have experienced the same issue (toolbar not showing upon hovering over an UIAxes component, but being able to zoom, drag the plot etc.).
A workaround that worked for me was to 'reset' the Toolbar Handle Visibility after creating a plot in the UIAxes like:
app.UIAxes.Toolbar.HandleVisibility = 'off'
app.UIAxes.Toolbar.HandleVisibility = 'on'
Dc215905
on 18 Jun 2021
Dc215905
on 2 Jul 2021
Peter
on 7 Jul 2021
Ah I see, glad it worked. I'll post my answer again below so it can be found more easily.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!