Why does app.UIAxes.CurrentPoint shift when I scroll in AppDesigner?

3 views (last 30 days)
Dc215905 on 28 Jun 2021
Commented: J. Alex Lee on 28 Jun 2021
I use "UIFigureWindowButtonUp(app, event)" to let user click on the UIAxes which will then plot a vertical line when they click.
For whatever reason, the verical plot has an offset if I scroll in the GUI and then click.
I am using "app.UIAxes.CurrentPoint" in order to indicate where along the x-axis the vertical line should be placed.
Any sugestions?
J. Alex Lee
J. Alex Lee on 28 Jun 2021
hmm, that's weird. my issue was in an older version, like 2018b or something, but it was pretty specific to a tab layout or gridlayout or something...maybe it's a bug (again) and mathworks team can investigate

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!