MATLAB Answers

Why is appdesigner toolbar not visible when visible is defined as 'on'?

16 views (last 30 days)
Dc215905
Dc215905 on 14 May 2021
Commented: Peter on 2 Jun 2021 at 16:25
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?
  4 Comments
Peter
Peter on 2 Jun 2021 at 16:25
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'

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!